Class: Regexp
- Extended by:
- Icss::Meta::RegexpSchema
- Defined in:
- lib/icss/type/simple_types.rb,
lib/icss/serialization/zaml.rb
Instance Method Summary collapse
Methods included from Icss::Meta::RegexpSchema
Methods included from Icss::Meta::PrimitiveSchema
Instance Method Details
#to_zaml(z = ZAML.new) ⇒ Object
254 255 256 |
# File 'lib/icss/serialization/zaml.rb', line 254 def to_zaml(z=ZAML.new) z.first_time_only(self) { z.emit("#{zamlized_class_name(Regexp)} #{inspect}") } end |