Method: Inch::API::Options::Base#initialize

Defined in:
lib/inch/api/options/base.rb

#initialize(options_or_hash) ⇒ Base

Returns a new instance of Base.



26
27
28
29
30
# File 'lib/inch/api/options/base.rb', line 26

def initialize(options_or_hash)
  self.class.attribute_names.each do |name|
    read options_or_hash, name
  end
end