Class: Coactive::Lookups::Object
- Inherits:
-
Base
- Object
- Base
- Coactive::Lookups::Object
show all
- Defined in:
- lib/coactive/lookups/object.rb
Class Method Summary
collapse
Instance Method Summary
collapse
Methods inherited from Base
#initialize
Class Method Details
.callable?(coactant) ⇒ Boolean
39
40
41
|
# File 'lib/coactive/lookups/object.rb', line 39
def callable?(coactant)
coactant.is_a?(Module)
end
|
Instance Method Details
6
7
8
|
# File 'lib/coactive/lookups/object.rb', line 6
def call
lookup(@coactant)
end
|