Method: Zafu::Process::RubyLessProcessing#safe_method_type
- Defined in:
- lib/zafu/process/ruby_less_processing.rb
#safe_method_type(signature, receiver = nil) ⇒ Object
Actual method resolution. The lookup first starts in the current helper. If nothing is found there, it searches inside a ‘helpers’ module and finally looks into the current node_context. If nothing is found at this stage, we prepend the method with the current node and start over again.
23 24 25 |
# File 'lib/zafu/process/ruby_less_processing.rb', line 23 def safe_method_type(signature, receiver = nil) super || get_method_type(signature, false) end |