Sha256: cb710f75f2bc5e1f602828376a71049f040e83d43f55c7c45f61bc5a893ceb25

Contents?: true

Size: 161 Bytes

Versions: 1

Compression:

Stored size: 161 Bytes

Contents

require "to_poro/version"

module ToPoro
  def to_poro(*attributes)
    type = Struct.new(*attributes)
    pluck(*attributes).map { |a| type.new(*a) }
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
to_poro-0.1.0 lib/to_poro.rb