Module: PSON::Pure::Generator::GeneratorMethods::Object
- Defined in:
- lib/puppet/external/pson/pure/generator.rb
Instance Method Summary collapse
-
#to_pson ⇒ Object
Converts this object to a string (calling #to_s), converts it to a PSON string, and returns the result.
Instance Method Details
#to_pson ⇒ Object
Converts this object to a string (calling #to_s), converts it to a PSON string, and returns the result. This is a fallback, if no special method #to_pson was defined for some object.
199 |
# File 'lib/puppet/external/pson/pure/generator.rb', line 199 def to_pson(*) to_s.to_pson end |