Sha256: 7253a4d496979d3c14e39dd62fcde77c754cf363776582b4ea6e3986b9262f0f

Contents?: true

Size: 248 Bytes

Versions: 1

Compression:

Stored size: 248 Bytes

Contents

module Slippers
  class BindingWrapper
    def initialize(bindings)
      @bindings = bindings
    end
    def [](method)
      eval('@'+ method.to_s, @bindings)
    end
    
    def to_s
      "BindingWrapper with #{@bindingsw}"
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
starapor-slippers-0.0.6 lib/engine/binding_wrapper.rb