Module: Representable::Hash::Collection::ClassMethods
- Defined in:
- lib/representable/hash/collection.rb
Instance Method Summary collapse
Instance Method Details
#items(options = {}, &block) ⇒ Object
17 18 19 |
# File 'lib/representable/hash/collection.rb', line 17 def items(={}, &block) collection(:_self, .merge(:getter => lambda { |*| self }), &block) end |