Sha256: 4b87013959d4727fd3b238b1bf37ad76f9ecc637397054dfee9a534882e0e6fb

Contents?: true

Size: 151 Bytes

Versions: 2

Compression:

Stored size: 151 Bytes

Contents

require 'facets/ruby' #for Binding#eval

class Binding

  # Returns self of the binding context.

  def self()
    @_self ||= eval("self")
  end

end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
facets-2.4.0 lib/facets/binding/self.rb
facets-2.4.1 lib/facets/binding/self.rb