Class: Ctrl::CLI
- Inherits:
-
Thor
- Object
- Thor
- Ctrl::CLI
- Defined in:
- lib/ctrl/cli.rb
Instance Attribute Summary collapse
-
#ctrl ⇒ Object
Returns the value of attribute ctrl.
Instance Method Summary collapse
- #board ⇒ Object
-
#initialize(*args) ⇒ CLI
constructor
A new instance of CLI.
- #list ⇒ Object
- #move ⇒ Object
- #new ⇒ Object
- #show ⇒ Object
- #view ⇒ Object
Constructor Details
#initialize(*args) ⇒ CLI
Returns a new instance of CLI.
4 5 6 |
# File 'lib/ctrl/cli.rb', line 4 def initialize(*args) super end |
Instance Attribute Details
#ctrl ⇒ Object
Returns the value of attribute ctrl.
3 4 5 |
# File 'lib/ctrl/cli.rb', line 3 def ctrl @ctrl end |
Instance Method Details
#board ⇒ Object
15 |
# File 'lib/ctrl/cli.rb', line 15 def board; end |
#list ⇒ Object
12 |
# File 'lib/ctrl/cli.rb', line 12 def list; end |
#move ⇒ Object
24 |
# File 'lib/ctrl/cli.rb', line 24 def move; end |
#new ⇒ Object
18 |
# File 'lib/ctrl/cli.rb', line 18 def new; end |
#show ⇒ Object
9 |
# File 'lib/ctrl/cli.rb', line 9 def show; binding.pry; end |
#view ⇒ Object
21 |
# File 'lib/ctrl/cli.rb', line 21 def view; end |