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_appender_for, define_deprecated_accessors_for, define_deprecated_writer_for, define_reader_for, define_simple_writer_for
Instance Method Details
#handle_remaining_arguments ⇒ Object
94 95 96 97 98 |
# File 'lib/logstash/patches/clamp.rb', line 94 def handle_remaining_arguments unless remaining_arguments.empty? signal_usage_error "Unknown command '#{remaining_arguments.first}'" end end |