Class: Bits::Command

Inherits:
Object
  • Object
show all
Defined in:
lib/bits/command.rb

Overview

Baseclass for commands.

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#nsObject (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