Class: Bits::Command
- Inherits:
-
Object
- Object
- Bits::Command
- Defined in:
- lib/bits/command.rb
Overview
Baseclass for commands.
Instance Attribute Summary collapse
-
#ns ⇒ Object
readonly
Returns the value of attribute ns.
Instance Method Summary collapse
- #entry(args) ⇒ Object
-
#initialize(ns) ⇒ Command
constructor
A new instance of Command.
- #setup(opts) ⇒ Object
Constructor Details
#initialize(ns) ⇒ Command
Returns a new instance of Command.
8 9 10 |
# File 'lib/bits/command.rb', line 8 def initialize(ns) @ns = ns end |
Instance Attribute Details
#ns ⇒ Object (readonly)
Returns the value of attribute ns.
6 7 8 |
# File 'lib/bits/command.rb', line 6 def ns @ns end |
Instance Method Details
#entry(args) ⇒ Object
16 17 18 |
# File 'lib/bits/command.rb', line 16 def entry(args) raise "not implemented: entry" end |
#setup(opts) ⇒ Object
12 13 14 |
# File 'lib/bits/command.rb', line 12 def setup(opts) raise "not implemented: setup" end |