class Range

Public Instance Methods

to_zaml(z=ZAML.new) click to toggle source
# File lib/icss/serialization/zaml.rb, line 425
def to_zaml(z=ZAML.new)
  z.first_time_only(self) {
    z.emit(zamlized_class_name(Range)+" ")
    z.nested {
      z.nl
      z.emit('begin: ')
      z.emit(first)
      z.nl
      z.emit('end: ')
      z.emit(last)
      z.nl
      z.emit('excl: ')
      z.emit(exclude_end?)
    }
  }
end