class Fix::It
Open the it class.
@api private
Private Instance Methods
method_missing(name, *args, &block)
click to toggle source
Override Ruby's method_missing
in order to provide `On#let` interface.
@api private
@since 0.11.0
@raise [NoMethodError] If doesn't respond to the given method.
Calls superclass method
# File lib/fix/let.rb, line 45 def method_missing(name, *args, &block) helpers.key?(name) ? helpers.fetch(name).call : super end
respond_to_missing?(name, include_private = false)
click to toggle source
Calls superclass method
# File lib/fix/let.rb, line 49 def respond_to_missing?(name, include_private = false) helpers.key?(name) || super end