Class: Clamp::StrictCommand
- Inherits:
-
Command
- Object
- Command
- Clamp::StrictCommand
- Extended by:
- Option::StrictDeclaration
- Defined in:
- lib/logstash/patches/clamp.rb
Overview
Create a subclass of Clamp::Command that enforces the use of LogStash::SETTINGS for setting validation
Direct Known Subclasses
Instance Method Summary collapse
Methods included from Option::StrictDeclaration
define_deprecated_accessors_for, define_deprecated_writer_for, define_reader_for, define_simple_writer_for
Methods included from LogStash::Util::Loggable
included, #logger, #slow_logger
Instance Method Details
#handle_remaining_arguments ⇒ Object
88 89 90 91 92 |
# File 'lib/logstash/patches/clamp.rb', line 88 def handle_remaining_arguments unless remaining_arguments.empty? signal_usage_error "Unknown command '#{remaining_arguments.first}'" end end |