module Tools::HashConstructed
Public Class Methods
new(h)
click to toggle source
# File lib/tools/hash_constructed.rb, line 3 def initialize(h) h.each {|attr_name,attr_value| public_send("#{attr_name}=", attr_value)} end