Module: Canned::Context::Matchers::Helpers
- Defined in:
- lib/canned/context/matchers/helpers.rb
Class Method Summary collapse
Class Method Details
.resolve(_target, _key) ⇒ Object
6 7 8 |
# File 'lib/canned/context/matchers/helpers.rb', line 6 def self.resolve(_target, _key) if _target.is_a? Hash then _target[_key] else _target.send(_key) end end |