Class: RubyPP::Environment

Inherits:
Object
  • Object
show all
Defined in:
lib/rubypp.rb

Instance Method Summary collapse

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

#bindingObject



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