Class: TokyoMetro::Factory::Seed::Common::List

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

Instance Method Summary collapse

Methods inherited from Group

process

Constructor Details

#initialize(array, *args) ⇒ List

Returns a new instance of List.



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

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

Instance Method Details

#seedObject



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

def seed
  inspection do
    seed_main_infos
    seed_optional_infos
  end
  interruption
end