Class: Hermeneutics::Cli::ImapTools::Search
- Inherits:
-
CommandNamed
- Object
- Command
- CommandNamed
- Hermeneutics::Cli::ImapTools::Search
- Defined in:
- lib/hermeneutics/cli/imap/commands.rb
Constant Summary collapse
- NAME =
:SEARCH
Instance Attribute Summary
Attributes inherited from Command
Instance Method Summary collapse
-
#initialize(*criteria) ⇒ Search
constructor
A new instance of Search.
- #params ⇒ Object
Methods inherited from CommandNamed
Methods inherited from Command
Constructor Details
#initialize(*criteria) ⇒ Search
Returns a new instance of Search.
237 238 239 240 |
# File 'lib/hermeneutics/cli/imap/commands.rb', line 237 def initialize *criteria super *[] @criteria = criteria end |
Instance Method Details
#params ⇒ Object
242 |
# File 'lib/hermeneutics/cli/imap/commands.rb', line 242 def params ; @criteria ; end |