Class: Opto::Resolvers::Default
- Inherits:
-
Opto::Resolver
- Object
- Opto::Resolver
- Opto::Resolvers::Default
- Defined in:
- lib/opto/resolvers/default.rb
Overview
Resolve a value through the default value defined during option initialization
Instance Attribute Summary
Attributes inherited from Opto::Resolver
Instance Method Summary collapse
Methods inherited from Opto::Resolver
for, inherited, #initialize, origin, #origin, resolvers
Constructor Details
This class inherits a constructor from Opto::Resolver
Instance Method Details
#resolve ⇒ Object
5 6 7 |
# File 'lib/opto/resolvers/default.rb', line 5 def resolve hint.default end |