Sha256: 6d4ca8aefd6aef760d4980ceb1d853d156e4fb2e70eaa96a8fcba666ca445bff

Contents?: true

Size: 251 Bytes

Versions: 3

Compression:

Stored size: 251 Bytes

Contents

class Binding

  # This is already defined by Rubinius:
  #   Kernel.eval('Rubinius::VariableScope.current.self', self)
  unless method_defined?(:self)

    # Returns self of the binding's context.
    def self
      eval('self')
    end

  end

end

Version data entries

3 entries across 3 versions & 2 rubygems

Version Path
facets-glimmer-3.2.0 lib/core/facets/binding/self.rb
facets-3.1.0 lib/core/facets/binding/self.rb
facets-3.0.0 lib/core/facets/binding/self.rb