Class: RubyPP::Environment
- Inherits:
-
Object
- Object
- RubyPP::Environment
- Defined in:
- lib/rubypp.rb
Instance Method Summary collapse
- #binding ⇒ Object
-
#initialize(preprocessor) ⇒ Environment
constructor
A new instance of Environment.
- #puts(*lines) ⇒ Object
Constructor Details
#initialize(preprocessor) ⇒ Environment
Returns a new instance of Environment.
3 4 5 |
# File 'lib/rubypp.rb', line 3 def initialize(preprocessor) @preprocessor = preprocessor end |
Instance Method Details
#binding ⇒ Object
11 12 13 |
# File 'lib/rubypp.rb', line 11 def binding return super end |
#puts(*lines) ⇒ Object
7 8 9 |
# File 'lib/rubypp.rb', line 7 def puts(*lines) @preprocessor.output.puts(*lines) end |