Class: PVN::Log::LimitOption

Inherits:
Synoption::FixnumOption
  • Object
show all
Defined in:
lib/pvn/log/options.rb

Instance Method Summary collapse

Constructor Details

#initialize(lmtargs = Hash.new) ⇒ LimitOption

Returns a new instance of LimitOption.



16
17
18
# File 'lib/pvn/log/options.rb', line 16

def initialize lmtargs = Hash.new
  super :limit, '-l', "the number of log entries", DEFAULT_LIMIT, :negate => [ %r{^--no-?limit} ]
end