Class: Ellen::Adapters::Shell

Inherits:
Base
  • Object
show all
Defined in:
lib/ellen/adapters/shell.rb

Instance Attribute Summary

Attributes inherited from Base

#options, #robot

Instance Method Summary collapse

Methods inherited from Base

env, envs, inherited, #initialize, usage, #validate

Constructor Details

This class inherits a constructor from Ellen::Adapters::Base

Instance Method Details

#runObject



6
7
8
9
# File 'lib/ellen/adapters/shell.rb', line 6

def run
  explain
  listen
end

#say(body, options = {}) ⇒ Object



11
12
13
# File 'lib/ellen/adapters/shell.rb', line 11

def say(body, options = {})
  puts body
end