class Crew::Task::Arguments::BlockDefinition

Public Class Methods

new(opts, &block) click to toggle source
# File lib/crew/task/arguments.rb, line 6
def initialize(opts, &block)
  @opts = opts
  @args = Arguments.new
  Arguments::DSL.load(@args, &block)
end

Public Instance Methods

process(&blk) click to toggle source
# File lib/crew/task/arguments.rb, line 12
def process(&blk)
  # TODO make better
  blk
end