Closed
Description
It's unclear how this gem can be applied to alternative approaches to method definition. For example, can ruby2_keywords
be applied to the following code?
def self.define_proxy(name)
define_method name do |*args, &block|
view_context.send(name, *args, &block)
end
end
(Code example is from Draper)
Metadata
Metadata
Assignees
Labels
No labels