class Scallop::Param

Represents named command parameter.

Attributes

key[R]

Public Class Methods

[](key) click to toggle source
# File lib/scallop/param.rb, line 6
def self.[](key)
  new(key)
end
new(key) click to toggle source
# File lib/scallop/param.rb, line 12
def initialize(key)
  @key = key
end