Sha256: d0e97081a1455e453f6bdf5d51d650dca72c8a8e1cccebaf370e1873f787a49e

Contents?: true

Size: 234 Bytes

Versions: 15

Compression:

Stored size: 234 Bytes

Contents

require 'facets/binding/eval'

class Binding

  # Returns the local variables defined in the binding context
  #
  #   a = 2
  #   binding.local_variables  #=> ["a"]
  #
  def local_variables()
    eval("local_variables")
  end

end

Version data entries

15 entries across 15 versions & 2 rubygems

Version Path
facets-2.8.4 lib/core/facets/binding/local_variables.rb
facets-2.8.3 lib/core/facets/binding/local_variables.rb
facets-2.8.2 lib/core/facets/binding/local_variables.rb
facets-2.8.1 lib/core/facets/binding/local_variables.rb
facets-2.8.0 lib/core/facets/binding/local_variables.rb
facets-2.7.0 lib/core/facets/binding/local_variables.rb
facets-2.6.0 lib/core/facets/binding/local_variables.rb
facets-2.4.4 lib/core/facets/binding/local_variables.rb
facets-2.4.3 lib/core/facets/binding/local_variables.rb
facets-2.4.2 lib/core/facets/binding/local_variables.rb
facets-2.5.0 lib/core/facets/binding/local_variables.rb
facets-2.4.5 lib/core/facets/binding/local_variables.rb
facets-2.5.1 lib/core/facets/binding/local_variables.rb
facets-2.5.2 lib/core/facets/binding/local_variables.rb
mack-facets-0.8.2 lib/gems/facets-2.4.5/lib/core/facets/binding/local_variables.rb