class ZAML::Comment

Public Instance Methods

to_zaml(z=ZAML.new) click to toggle source
# File lib/icss/serialization/zaml.rb, line 124
def to_zaml(z=ZAML.new)
  lines = self.split("\n",-1).map{|s| "# #{s}".strip }
  lines.each{|line| z.nl ; z.emit(line) }
end