Class: Coactive::Lookups::Base
- Inherits:
-
Object
- Object
- Coactive::Lookups::Base
- Defined in:
- lib/coactive/lookups/base.rb
Class Method Summary collapse
Instance Method Summary collapse
- #call ⇒ Object
-
#initialize(klass, coactant) ⇒ Base
constructor
A new instance of Base.
Constructor Details
#initialize(klass, coactant) ⇒ Base
Returns a new instance of Base.
6 7 8 9 10 |
# File 'lib/coactive/lookups/base.rb', line 6 def initialize(klass, coactant) @klass = klass @coactant = coactant @config = @klass.coactive_config end |
Class Method Details
.callable?(coactant) ⇒ Boolean
16 17 |
# File 'lib/coactive/lookups/base.rb', line 16 def callable?(coactant) end |
Instance Method Details
#call ⇒ Object
12 13 |
# File 'lib/coactive/lookups/base.rb', line 12 def call end |