Class: Spidy::Shell
- Inherits:
-
Object
- Object
- Spidy::Shell
- Defined in:
- lib/spidy/shell.rb
Overview
spidy Shell
Instance Method Summary collapse
- #command_line ⇒ Object
-
#initialize(path) ⇒ Shell
constructor
A new instance of Shell.
- #interactive ⇒ Object
Constructor Details
#initialize(path) ⇒ Shell
Returns a new instance of Shell.
7 8 9 |
# File 'lib/spidy/shell.rb', line 7 def initialize(path) @definition_file = Spidy::DefinitionFile.open(path) end |
Instance Method Details
#command_line ⇒ Object
20 21 22 |
# File 'lib/spidy/shell.rb', line 20 def command_line Spidy::CommandLine.new(@definition_file) end |