Class: Cutaneous::Compiler::Comment

Inherits:
Expression show all
Defined in:
lib/cutaneous/compiler/expression.rb

Instance Method Summary collapse

Methods inherited from Expression

#affect, #initialize

Constructor Details

This class inherits a constructor from Cutaneous::Compiler::Expression

Instance Method Details

#to_scriptObject

Need to make sure that the line positions are the same



48
49
50
# File 'lib/cutaneous/compiler/expression.rb', line 48

def to_script
  $/ * (@expression.count($/))
end