Sha256: 6ac9879a653909f2b7013cf316d8e860554dde636cc06cf114a9df1e935a42ad
Contents?: true
Size: 777 Bytes
Versions: 1
Compression:
Stored size: 777 Bytes
Contents
class TokyoMetro::Factory::Convert::Customize::Api::Fare::ChiyodaBranchLine::Ayase::Generate::List < TokyoMetro::Factory::Convert::Common::Api::MetaClass::Fundamental::Updated private def process [ :from , :to ].each do | prefix | self.send( "fare_infos_#{ prefix }_ayase" ).each do | item | @object << ::TokyoMetro::Factory::Convert::Customize::Api::Fare::ChiyodaBranchLine::Ayase::Generate::List::EachCondition.process( item , "#{ prefix }_station" ) end end end [ :from , :to ].each do | prefix | eval <<-DEF def fare_infos_#{ prefix }_ayase @object.select { | item | item.#{ prefix }_station == ::TokyoMetro::Modules::Common::Dictionary::Station::StringInfo.ayase_on_chiyoda_main_line } end DEF end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
tokyo_metro-0.10.1 | lib/tokyo_metro/factory/convert/customize/api/fare/chiyoda_branch_line/ayase/generate/list.rb |