Class: PVN::Log::LimitOption
- Inherits:
-
Synoption::FixnumOption
- Object
- Synoption::FixnumOption
- PVN::Log::LimitOption
- Defined in:
- lib/pvn/log/options.rb
Instance Method Summary collapse
-
#initialize(lmtargs = Hash.new) ⇒ LimitOption
constructor
A new instance of LimitOption.
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 |