Class: Intelligence::Adapter::Base
- Inherits:
-
Object
- Object
- Intelligence::Adapter::Base
- Extended by:
- AdaptiveConfiguration::Configurable, ClassMethods::Construction
- Defined in:
- lib/intelligence/adapter/base.rb
Instance Method Summary collapse
-
#initialize(options = nil, configuration: nil) ⇒ Base
constructor
A new instance of Base.
Methods included from ClassMethods::Construction
Constructor Details
#initialize(options = nil, configuration: nil) ⇒ Base
Returns a new instance of Base.
9 10 11 12 |
# File 'lib/intelligence/adapter/base.rb', line 9 def initialize( = nil, configuration: nil ) @options = ? self.class.configure( ) : {} @options = configuration.merge( @options ) if configuration end |