class Autorake::Application::Option

Attributes

arg[R]
desc[R]

Public Class Methods

new(*args) click to toggle source
# File lib/autorake/application.rb, line 12
def initialize *args
  @desc, @arg, *@call = *args
end

Public Instance Methods

[](*args ;) click to toggle source
# File lib/autorake/application.rb, line 10
def [] *args ; new *args ; end
call() click to toggle source
# File lib/autorake/application.rb, line 15
def call
  @call.dup
end