Class: LocalVault::CLI::CommandStatus
- Inherits:
-
Data
- Object
- Data
- LocalVault::CLI::CommandStatus
- Defined in:
- lib/localvault/cli.rb
Instance Attribute Summary collapse
-
#code ⇒ Object
readonly
Returns the value of attribute code.
Class Method Summary collapse
Instance Attribute Details
#code ⇒ Object (readonly)
Returns the value of attribute code
16 17 18 |
# File 'lib/localvault/cli.rb', line 16 def code @code end |
Class Method Details
.error ⇒ Object
21 22 23 |
# File 'lib/localvault/cli.rb', line 21 def self.error new(1) end |
.ok ⇒ Object
17 18 19 |
# File 'lib/localvault/cli.rb', line 17 def self.ok new(0) end |