Sha256: 3e96b30d6d13335c13705fa34eb5fe988ff8e699af80a2a09b07ba90f288ffee

Contents?: true

Size: 180 Bytes

Versions: 9

Compression:

Stored size: 180 Bytes

Contents

module Slippers
  class BindingWrapper
    def initialize(bindings)
      @bindings = bindings
    end
    def [](method)
      eval('@'+ method.to_s, @bindings)
    end
  end
end

Version data entries

9 entries across 9 versions & 2 rubygems

Version Path
starapor-slippers-0.0.2 lib/engine/binding_wrapper.rb
starapor-slippers-0.0.3 lib/engine/binding_wrapper.rb
starapor-slippers-0.0.8 lib/engine/binding_wrapper.rb
starapor-slippers-0.0.9 lib/engine/binding_wrapper.rb
slippers-0.0.14 lib/engine/binding_wrapper.rb
slippers-0.0.13 lib/engine/binding_wrapper.rb
slippers-0.0.12 lib/engine/binding_wrapper.rb
slippers-0.0.11 lib/engine/binding_wrapper.rb
slippers-0.0.10 lib/engine/binding_wrapper.rb