Module: Rubyfox::SFSObject::Accessor::ClassMethods
- Defined in:
- lib/rubyfox/sfsobject/accessor.rb
Instance Method Summary collapse
Instance Method Details
#[](hash) ⇒ Object
11 12 13 14 15 16 17 |
# File 'lib/rubyfox/sfsobject/accessor.rb', line 11 def [](hash) new.tap do |sfs_object| hash.each do |key, value| sfs_object[key] = value end end end |