Class: Object
- Inherits:
- BasicObject
- Defined in:
- lib/jader/serialize.rb
Instance Method Summary collapse
-
#to_ice ⇒ Object
Serialize Object to Jade format.
Instance Method Details
#to_ice ⇒ Object
Serialize Object to Jade format. Invoke ‘self.to_jade` if instance responds to `to_jade`
65 66 67 68 69 70 71 |
# File 'lib/jader/serialize.rb', line 65 def to_ice if self.respond_to? :to_a self.to_a.to_jade else nil end end |