Class: TokyoMetro::Factory::Get::Api::MetaClass::Fundamental::Generator::NewArray::Search

Inherits:
Common
  • Object
show all
Defined in:
lib/tokyo_metro/factory/get/api/meta_class/fundamental/generator/new_array/search.rb

Class Method Summary collapse

Instance Method Summary collapse

Methods inherited from Common

#process

Constructor Details

#initialize(ary, namespace) ⇒ Search

Returns a new instance of Search.



3
4
5
6
7
# File 'lib/tokyo_metro/factory/get/api/meta_class/fundamental/generator/new_array/search.rb', line 3

def initialize( ary , namespace )
  @ary = ary
  @namespace = namespace
  check_validity_of_ary
end

Class Method Details

.process(ary, namespace) ⇒ Object



9
10
11
# File 'lib/tokyo_metro/factory/get/api/meta_class/fundamental/generator/new_array/search.rb', line 9

def self.process( ary , namespace )
  self.new( ary , namespace ).process
end