Class: NoSE::Serialize::StatementRepresenter
- Inherits:
-
Representable::Decorator
- Object
- Representable::Decorator
- NoSE::Serialize::StatementRepresenter
- Includes:
- Representable::Hash, Representable::JSON, Representable::Uncached, Representable::YAML
- Defined in:
- lib/nose/serialize.rb
Overview
Conversion of a statement is just the text
Instance Method Summary collapse
-
#to_hash ⇒ Object
Represent as the text of the statement.
Methods included from Representable::Uncached
Instance Method Details
#to_hash ⇒ Object
Represent as the text of the statement
231 232 233 |
# File 'lib/nose/serialize.rb', line 231 def to_hash(*) represented.text end |