Method: Exception#to_zaml

Defined in:
lib/icss/serialization/zaml.rb

#to_zaml(z = ZAML.new) ⇒ Object



260
261
262
263
264
265
266
267
# File 'lib/icss/serialization/zaml.rb', line 260

def to_zaml(z=ZAML.new)
  z.emit(zamlized_class_name(Exception)+" ")
  z.nested {
    z.nl("message: ")
    message.to_zaml(z)
  }
  z.to_s
end