Module: TokyoMetro::ClassNameLibrary::Static::Fare::ClassMethods

Defined in:
lib/tokyo_metro/class_name_library/static/fare.rb

Instance Method Summary collapse

Instance Method Details

#db_instance_class_of_normal_table_patternObject



46
47
48
# File 'lib/tokyo_metro/class_name_library/static/fare.rb', line 46

def db_instance_class_of_normal_table_pattern
  ::NormalFareGroup
end

#factory_for_seeding_normal_table_listObject



38
39
40
# File 'lib/tokyo_metro/class_name_library/static/fare.rb', line 38

def factory_for_seeding_normal_table_list
  ::TokyoMetro::Factory::Seed::Static::Fare::Normal::Table::List
end

#factory_for_seeding_normal_table_patternObject



42
43
44
# File 'lib/tokyo_metro/class_name_library/static/fare.rb', line 42

def factory_for_seeding_normal_table_pattern
  ::TokyoMetro::Factory::Seed::Static::Fare::Normal::Table::Pattern
end

#normal_fare_classConst ( ::TokyoMetro::Static::Fare::Normal )

東京メトロの運賃表(普通運賃)を扱うクラス

Returns:



16
17
18
# File 'lib/tokyo_metro/class_name_library/static/fare.rb', line 16

def normal_fare_class
  ::TokyoMetro::Static::Fare::Normal
end

#normal_fare_table_classConst ( ::TokyoMetro::Static::Fare::Normal::Table )

各料金区間の運賃の配列を扱うクラス



22
23
24
# File 'lib/tokyo_metro/class_name_library/static/fare.rb', line 22

def normal_fare_table_class
  ::TokyoMetro::Static::Fare::Normal::Table
end

#normal_fare_table_list_classConst ( ::TokyoMetro::Static::Fare::Normal::Table::List )

各料金区間の運賃の配列



28
29
30
# File 'lib/tokyo_metro/class_name_library/static/fare.rb', line 28

def normal_fare_table_list_class
  ::TokyoMetro::Static::Fare::Normal::Table::List
end

#normal_fare_table_pattern_classConst ( ::TokyoMetro::Static::Fare::Normal::Table::Pattern )

運賃のパターン(各料金区間の運賃)を扱うクラス



34
35
36
# File 'lib/tokyo_metro/class_name_library/static/fare.rb', line 34

def normal_fare_table_pattern_class
  ::TokyoMetro::Static::Fare::Normal::Table::Pattern
end

#static_toplevel_namespaceConst ( ::TokyoMetro::Static::Fare )

トップレベルのクラス

Returns:



10
11
12
# File 'lib/tokyo_metro/class_name_library/static/fare.rb', line 10

def static_toplevel_namespace
  ::TokyoMetro::Static::Fare
end