Class: TokyoMetro::Factory::Seed::Common::Hash

Inherits:
Group
  • Object
show all
Defined in:
lib/tokyo_metro/factory/seed/common/hash.rb

Direct Known Subclasses

Static::MetaClass::Hash

Instance Method Summary collapse

Methods inherited from Group

process

Constructor Details

#initialize(h, *args) ⇒ Hash

Returns a new instance of Hash.



3
4
5
6
# File 'lib/tokyo_metro/factory/seed/common/hash.rb', line 3

def initialize( h , *args )
  super( *args )
  set_array_to_seed(h)
end

Instance Method Details

#seedObject



8
9
10
11
12
13
14
# File 'lib/tokyo_metro/factory/seed/common/hash.rb', line 8

def seed
  inspection do
    seed_main_infos
    seed_optional_infos
  end
  interruption
end