Module: TokyoMetro::ClassNameLibrary::Static::Operator::ClassMethods

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

Instance Method Summary collapse

Instance Method Details

#db_instance_classObject



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

def db_instance_class
  ::Operator
end

#factory_for_generating_from_hashObject



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

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

#factory_for_generating_from_saved_fileObject



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

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

#factory_for_seeding_hashObject



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

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

#factory_for_seeding_infoObject



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

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

#hash_classObject



12
13
14
# File 'lib/tokyo_metro/class_name_library/static/operator.rb', line 12

def hash_class
  ::TokyoMetro::Static::Operator::Hash
end

#info_classObject



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

def info_class
  ::TokyoMetro::Static::Operator::Info
end

#scss_color_factoryConst (class)

Note:

おそらく、もう使うことはない。

SCCS の color ファイルを作成する Factory Pattern Class の名称を返すメソッド

Returns:

  • (Const (class))


43
44
45
# File 'lib/tokyo_metro/class_name_library/static/operator.rb', line 43

def scss_color_factory
  ::TokyoMetro::Factory::Scss::Operators::Colors
end

#toplevel_namespaceObject



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

def toplevel_namespace
  ::TokyoMetro::Static::Operator
end