Class: TokyoMetro::Api::Station::Info::Exit::List
Overview
Class Method Summary
collapse
Instance Method Summary
collapse
#seed, #to_strf
#seed
#find_by_same_as, #to_strf
Class Method Details
.factory_for_seeding_this_class ⇒ Object
8
9
10
|
# File 'lib/tokyo_metro/api/station/info/exit/list.rb', line 8
def self.factory_for_seeding_this_class
factory_for_seeding_exits_of_each_station
end
|
Instance Method Details
#include_info_of?(id_urn) ⇒ Boolean
4
5
6
|
# File 'lib/tokyo_metro/api/station/info/exit/list.rb', line 4
def include_info_of?( id_urn )
self.any? { | item | item.point == id_urn }
end
|