== Binding#local_variables

  require 'facets/binding/local_variables'

  a = 1
  b = 2
  x = "hello"

  unless RUBY_VERSION > "1.9"

    lvars = binding.local_variables

    lvars.assert.include?('a')
    lvars.assert.include?('b')
    lvars.assert.include?('x')

  else

    lvars = binding.local_variables

    lvars.assert.include?(:a)
    lvars.assert.include?(:b)
    lvars.assert.include?(:x)

  end

