Class: Symbol
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
Instance Method Details
#to_yaml(opts = {}) ⇒ Object
200 201 202 203 204 205 |
# File 'lib/syck/rubytypes.rb', line 200 def to_yaml( opts = {} ) return super unless YAML::ENGINE.syck? YAML::quick_emit( nil, opts ) do |out| out.scalar( "tag:yaml.org,2002:str", self.inspect, :plain ) end end |