Class: Range
Instance Method Summary collapse
Instance Method Details
#to_zaml(z = ZAML.new) ⇒ Object
427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 |
# File 'lib/icss/serialization/zaml.rb', line 427 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 |