Class: Lookbook::MethodResolver
- Inherits:
-
DataResolver
- Object
- Service
- DataResolver
- Lookbook::MethodResolver
- Defined in:
- lib/lookbook/services/data/resolvers/method_resolver.rb
Constant Summary collapse
- MATCHER =
/(:{1}([a-zA-Z_\d]+))$/
- MATCH_INDEX =
2
Instance Attribute Summary
Attributes inherited from DataResolver
#base_dir, #eval_context, #fallback, #file
Instance Method Summary collapse
Methods inherited from DataResolver
#call, #initialize, resolveable?
Methods inherited from Service
Constructor Details
This class inherits a constructor from Lookbook::DataResolver
Instance Method Details
#resolve(input) ⇒ Object
6 7 8 |
# File 'lib/lookbook/services/data/resolvers/method_resolver.rb', line 6 def resolve(input) evaluate(input) end |