Sha256: 06f0e06de9fcb58510e39b48b5167a7ace973669f1fe2d44b556582ae2dd88c2

Contents?: true

Size: 242 Bytes

Versions: 1

Compression:

Stored size: 242 Bytes

Contents

# encoding: UTF-8

class Plow
  class BindingStruct
    def initialize(hash)
      hash.each_pair do |name, val|
        instance_variable_set("@#{name}".to_sym, val)
      end
    end
    
    def get_binding
      binding
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
plow-0.1.0 lib/plow/binding_struct.rb