Class: ItsyBtc::Commands::Command
- Inherits:
-
Object
- Object
- ItsyBtc::Commands::Command
show all
- Defined in:
- lib/itsy-btc/commands/command.rb
Direct Known Subclasses
BalanceCommand, CommentCommand, DecryptCommand, DeleteCommand, GenCommand, HelpCommand, ImportCommand, InitCommand, ListCommand, PasswdCommand, PushCommand, SignCommand, TxCommand, VerifyCommand
Instance Attribute Summary collapse
Class Method Summary
collapse
Instance Method Summary
collapse
Instance Attribute Details
#wallet ⇒ Object
Returns the value of attribute wallet.
4
5
6
|
# File 'lib/itsy-btc/commands/command.rb', line 4
def wallet
@wallet
end
|
Class Method Details
.args(value = nil) ⇒ Object
15
16
17
18
|
# File 'lib/itsy-btc/commands/command.rb', line 15
def self.args(value=nil)
@args = value if value
@args
end
|
.name(value = nil) ⇒ Object
10
11
12
13
|
# File 'lib/itsy-btc/commands/command.rb', line 10
def self.name(value=nil)
@name = value if value
@name
end
|
.summary(value = nil) ⇒ Object
20
21
22
23
|
# File 'lib/itsy-btc/commands/command.rb', line 20
def self.summary(value=nil)
@summary = value if value
@summary
end
|
Instance Method Details
#run ⇒ Object
6
7
8
|
# File 'lib/itsy-btc/commands/command.rb', line 6
def run
raise NotImplementedError, "command not implemented!"
end
|