Class: Hermeneutics::Cli::ImapTools::CommandGeneric
- Defined in:
- lib/hermeneutics/cli/imap/commands.rb
Instance Attribute Summary collapse
-
#name ⇒ Object
readonly
Returns the value of attribute name.
-
#params ⇒ Object
readonly
Returns the value of attribute params.
Attributes inherited from Command
Instance Method Summary collapse
-
#initialize(name, *params) ⇒ CommandGeneric
constructor
A new instance of CommandGeneric.
Methods inherited from Command
Constructor Details
#initialize(name, *params) ⇒ CommandGeneric
Returns a new instance of CommandGeneric.
45 46 47 48 |
# File 'lib/hermeneutics/cli/imap/commands.rb', line 45 def initialize name, *params super *[] @name, @params = name, params end |
Instance Attribute Details
#name ⇒ Object (readonly)
Returns the value of attribute name.
43 44 45 |
# File 'lib/hermeneutics/cli/imap/commands.rb', line 43 def name @name end |
#params ⇒ Object (readonly)
Returns the value of attribute params.
43 44 45 |
# File 'lib/hermeneutics/cli/imap/commands.rb', line 43 def params @params end |