Class: Evostream::CLI::Argument::Search
- Includes:
- Singleton
- Defined in:
- lib/evostream/cli/option/search.rb
Overview
Argument for searching in response to command
Constant Summary collapse
- KEY =
['-s', '--search'].freeze
Instance Attribute Summary collapse
-
#search ⇒ Object
readonly
Returns the value of attribute search.
Instance Method Summary collapse
-
#initialize ⇒ Search
constructor
A new instance of Search.
Methods inherited from Arg
Constructor Details
#initialize ⇒ Search
16 17 18 |
# File 'lib/evostream/cli/option/search.rb', line 16 def initialize @search = nil end |
Instance Attribute Details
#search ⇒ Object (readonly)
Returns the value of attribute search.
14 15 16 |
# File 'lib/evostream/cli/option/search.rb', line 14 def search @search end |