Sha256: c5f43b6a682c1570279afdc8077809fd261420252c076c85f4d676bede86efc5

Contents?: true

Size: 188 Bytes

Versions: 3

Compression:

Stored size: 188 Bytes

Contents

class Binding

  # Returns the nature of something within the context of the binding.
  # Returns nil if that thing is not defined.

  def defined?(x)
    eval("defined? #{x}")
  end

end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
facets-2.2.0 lib/core/facets/binding/defined.rb
facets-2.3.0 lib/core/facets/binding/defined.rb
facets-2.2.1 lib/core/facets/binding/defined.rb