module ToPoro
Constants
- VERSION
Public Instance Methods
to_poro(*attributes)
click to toggle source
# File lib/to_poro.rb, line 4 def to_poro(*attributes) type = Struct.new(*attributes) pluck(*attributes).map { |a| type.new(*a) } end