Class: Evostream::CLI::Argument::Search

Inherits:
Arg
  • Object
show all
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

Instance Method Summary collapse

Methods inherited from Arg

descendants, #used?

Constructor Details

#initializeSearch



16
17
18
# File 'lib/evostream/cli/option/search.rb', line 16

def initialize
  @search = nil
end

Instance Attribute Details

#searchObject (readonly)

Returns the value of attribute search.



14
15
16
# File 'lib/evostream/cli/option/search.rb', line 14

def search
  @search
end