Class: Regexp

Inherits:
Object show all
Defined in:
lib/vendor/puppet/util/zaml.rb

Instance Method Summary collapse

Instance Method Details

#to_zaml(z) ⇒ Object



242
243
244
# File 'lib/vendor/puppet/util/zaml.rb', line 242

def to_zaml(z)
  z.first_time_only(self) { z.emit("#{zamlized_class_name(Regexp)} #{inspect}") }
end