Module: TokyoMetro::ClassNameLibrary::Static::RailwayDirection::ClassMethods

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

Instance Method Summary collapse

Instance Method Details

#db_instance_classObject



40
41
42
# File 'lib/tokyo_metro/class_name_library/static/railway_direction.rb', line 40

def db_instance_class
  ::RailwayDirection
end

#factory_for_generating_from_hashObject



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

def factory_for_generating_from_hash
  ::TokyoMetro::Factory::Generate::Static::RailwayDirection::Info
end

#factory_for_generating_from_saved_fileObject



24
25
26
# File 'lib/tokyo_metro/class_name_library/static/railway_direction.rb', line 24

def factory_for_generating_from_saved_file
  ::TokyoMetro::Factory::Generate::Static::RailwayDirection::Hash
end

#factory_for_seeding_hashObject



32
33
34
# File 'lib/tokyo_metro/class_name_library/static/railway_direction.rb', line 32

def factory_for_seeding_hash
  ::TokyoMetro::Factory::Seed::Static::RailwayDirection::Hash
end

#factory_for_seeding_infoObject



36
37
38
# File 'lib/tokyo_metro/class_name_library/static/railway_direction.rb', line 36

def factory_for_seeding_info
  ::TokyoMetro::Factory::Seed::Static::RailwayDirection::Info
end

#hash_classConst (class name)

ハッシュのクラス

Returns:

  • (Const (class name))


14
15
16
# File 'lib/tokyo_metro/class_name_library/static/railway_direction.rb', line 14

def hash_class
  ::TokyoMetro::Static::RailwayDirection::Hash
end

#info_classConst (class name)

ハッシュの値のクラス

Returns:

  • (Const (class name))


20
21
22
# File 'lib/tokyo_metro/class_name_library/static/railway_direction.rb', line 20

def info_class
  ::TokyoMetro::Static::RailwayDirection::Info
end

#toplevel_namespaceObject



8
9
10
# File 'lib/tokyo_metro/class_name_library/static/railway_direction.rb', line 8

def toplevel_namespace
  ::TokyoMetro::Static::RailwayDirection
end