Sha256: b4cf959e57f2a735dbd8fe26d14d8dc1012a97c810467a7bcf9b0f0e54504f0c

Contents?: true

Size: 308 Bytes

Versions: 1

Compression:

Stored size: 308 Bytes

Contents

class TokyoMetro::Factory::BeforeDecorate::Api::TrainLocation::List

  def initialize( object )
    @object = object
  end

  attr_reader :object

  def group_by_railway_direction( railway_line_in_db )
    @object.group_by { | item | item.before_decorate.railway_direction( railway_line_in_db ) }
  end

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
tokyo_metro-0.10.1 lib/tokyo_metro/factory/before_decorate/api/train_location/list.rb