Class: NightcrawlerSwift::Command
- Inherits:
-
Object
- Object
- NightcrawlerSwift::Command
show all
- Defined in:
- lib/nightcrawler_swift/command.rb
Instance Method Summary
collapse
Instance Method Details
#connection ⇒ Object
4
5
6
7
8
|
# File 'lib/nightcrawler_swift/command.rb', line 4
def connection
NightcrawlerSwift.connection.tap do |conn|
conn.connect! unless conn.connected?
end
end
|
#execute ⇒ Object
15
16
17
|
# File 'lib/nightcrawler_swift/command.rb', line 15
def execute
raise NotImplemented.new
end
|