Module: Gemmy::Patches::EnumeratorPatch::InstanceMethods::MapTo

Defined in:
lib/gemmy/patches/enumerator_patch.rb

Instance Method Summary collapse

Instance Method Details

#map_to(klass) ⇒ Object

map to <klass> instances, passing self as arg to klass constructor



46
47
48
# File 'lib/gemmy/patches/enumerator_patch.rb', line 46

def map_to(klass)
  clone.map_to klass
end