Module: YiffSpace::Utils::Helpers
- Defined in:
- lib/yiffspace/utils/helpers.rb
Class Method Summary
collapse
Dynamic Method Handling
This class handles dynamic methods through the method_missing method
#method_missing(name) ⇒ Object
8
9
10
|
# File 'lib/yiffspace/utils/helpers.rb', line 8
def method_missing(name, *, &)
target.send(name, *, &)
end
|
Class Method Details
.method_missing(name) ⇒ Object
8
9
10
|
# File 'lib/yiffspace/utils/helpers.rb', line 8
def method_missing(name, *, &)
target.send(name, *, &)
end
|
.respond_to_missing? ⇒ Boolean
12
13
14
|
# File 'lib/yiffspace/utils/helpers.rb', line 12
def respond_to_missing?(...)
target.respond_to?(...)
end
|
.target ⇒ Object
Lazily resolved so ApplicationController is not referenced at load time.