Sha256: 3f4ffb3d8f54ffc4ef960396efa38e57b7579deb97fef1f3c6e7cb39176a9183

Contents?: true

Size: 300 Bytes

Versions: 9

Compression:

Stored size: 300 Bytes

Contents

class Binding

  unless (RUBY_VERSION[0,3] == '1.9')

    # Evaluate a Ruby source code string (or block) in the binding context.

    def eval(str) #='', &blk )
      #if block_given?
      #  Kernel.eval( self, &blk )
      #elsif str
        Kernel.eval(str, self)
      #end
    end

  end

end

Version data entries

9 entries across 9 versions & 2 rubygems

Version Path
facets-2.6.0 lib/core/facets/binding/eval.rb
facets-2.4.2 lib/core/facets/binding/eval.rb
facets-2.4.3 lib/core/facets/binding/eval.rb
facets-2.4.4 lib/core/facets/binding/eval.rb
facets-2.4.5 lib/core/facets/binding/eval.rb
facets-2.5.0 lib/core/facets/binding/eval.rb
facets-2.5.1 lib/core/facets/binding/eval.rb
facets-2.5.2 lib/core/facets/binding/eval.rb
mack-facets-0.8.2 lib/gems/facets-2.4.5/lib/core/facets/binding/eval.rb