Skip to content

Request for additional documentation #6

Description

@brian-kephart

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)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions