Class: Producer::Core::Env
- Inherits:
-
Object
- Object
- Producer::Core::Env
- Defined in:
- lib/producer/core/env.rb
Instance Attribute Summary collapse
- #output(str) ⇒ Object
-
#target ⇒ Object
Returns the value of attribute target.
Instance Method Summary collapse
-
#initialize ⇒ Env
constructor
A new instance of Env.
- #remote ⇒ Object
Constructor Details
#initialize ⇒ Env
Returns a new instance of Env.
7 8 9 10 |
# File 'lib/producer/core/env.rb', line 7 def initialize @output = $stdout @target = nil end |
Instance Attribute Details
#output(str) ⇒ Object
12 13 14 |
# File 'lib/producer/core/env.rb', line 12 def output(str) @output.puts str end |
#target ⇒ Object
Returns the value of attribute target.
5 6 7 |
# File 'lib/producer/core/env.rb', line 5 def target @target end |