Class: Specinfra::Backend::ShellScript::Writer
- Inherits:
-
Object
- Object
- Specinfra::Backend::ShellScript::Writer
- Defined in:
- lib/specinfra/backend/shell_script.rb
Instance Method Summary collapse
- #call(*args) ⇒ Object
-
#initialize(lines) ⇒ Writer
constructor
A new instance of Writer.
Constructor Details
#initialize(lines) ⇒ Writer
Returns a new instance of Writer.
19 20 21 |
# File 'lib/specinfra/backend/shell_script.rb', line 19 def initialize(lines) @lines = lines end |
Instance Method Details
#call(*args) ⇒ Object
23 24 25 |
# File 'lib/specinfra/backend/shell_script.rb', line 23 def call(*args) puts @lines end |