class TokyoMetro::Factory::Generate::Static::TrainType::Custom::Main::Info
Constants
- TITLE
Public Class Methods
hash_keys()
click to toggle source
Calls superclass method
TokyoMetro::Factory::Generate::Static::TrainType::Custom::OtherOperator::Info::hash_keys
# File lib/tokyo_metro/factory/generate/static/train_type/custom/main/info.rb, line 12 def self.hash_keys super + hash_keys_3 end
hash_keys_3()
click to toggle source
# File lib/tokyo_metro/factory/generate/static/train_type/custom/main/info.rb, line 16 def self.hash_keys_3 [ :note , :css_class_name_in_document ] end
referenced_hash()
click to toggle source
# File lib/tokyo_metro/factory/generate/static/train_type/custom/main/info.rb, line 8 def self.referenced_hash ::TokyoMetro::Static.train_types_other_operator.merge( ::TokyoMetro::Static.train_types_default ) end
Private Instance Methods
check_varidity_of_referenced_info( info )
click to toggle source
Calls superclass method
TokyoMetro::Factory::Generate::Static::TrainType::Custom::DefaultSetting::Info#check_varidity_of_referenced_info
# File lib/tokyo_metro/factory/generate/static/train_type/custom/main/info.rb, line 44 def check_varidity_of_referenced_info( info ) super( info , include_ancestors: true ) end
decinding_keys_in_variables_from_hash()
click to toggle source
# File lib/tokyo_metro/factory/generate/static/train_type/custom/main/info.rb, line 40 def decinding_keys_in_variables_from_hash @h.keys - ( self.class.hash_keys_2 + self.class.hash_keys_3 + [ :stopping_pattern , :note_sub ] ).map( &:to_s ) end
set_values_to_hash_for_making_variables_when_reference_is_not_used()
click to toggle source
Calls superclass method
TokyoMetro::Factory::Generate::Static::TrainType::Custom::DefaultSetting::Info#set_values_to_hash_for_making_variables_when_reference_is_not_used
# File lib/tokyo_metro/factory/generate/static/train_type/custom/main/info.rb, line 31 def set_values_to_hash_for_making_variables_when_reference_is_not_used super set_values_to_hash_for_making_variables__alias( hash_key_array: self.class.hash_keys_3 ) end
set_values_to_hash_for_making_variables_when_reference_is_used()
click to toggle source
# File lib/tokyo_metro/factory/generate/static/train_type/custom/main/info.rb, line 22 def set_values_to_hash_for_making_variables_when_reference_is_used set_values_to_hash_for_making_variables_from_referenced_info( hash_key_array: self.class.hash_keys_1 ) # puts "1: " + @hash_for_making_variables.to_s set_values_to_hash_for_making_variables__alias( hash_key_array: self.class.hash_keys_2 ) # puts "2: " + @hash_for_making_variables.to_s set_values_to_hash_for_making_variables__alias( hash_key_array: self.class.hash_keys_3 ) # puts "3: " + @hash_for_making_variables.to_s end
variables_from_hash_keys()
click to toggle source
# File lib/tokyo_metro/factory/generate/static/train_type/custom/main/info.rb, line 36 def variables_from_hash_keys variables_from_hash_keys__alias( hash_key_array: self.class.hash_keys ) end