Class: Tara::Shim
- Inherits:
-
Object
- Object
- Tara::Shim
- Defined in:
- lib/tara/shim.rb
Instance Method Summary collapse
-
#initialize(command) ⇒ Shim
constructor
A new instance of Shim.
- #write(io) ⇒ Object
Constructor Details
#initialize(command) ⇒ Shim
Returns a new instance of Shim.
6 7 8 |
# File 'lib/tara/shim.rb', line 6 def initialize(command) @command = command end |
Instance Method Details
#write(io) ⇒ Object
10 11 12 |
# File 'lib/tara/shim.rb', line 10 def write(io) io.puts(script_template) end |