Class: Hpricot::Doc
- Inherits:
-
Object
- Object
- Hpricot::Doc
- Defined in:
- lib/eex2slime/hpricot_monkeypatches.rb
Instance Method Summary collapse
Instance Method Details
#to_slime ⇒ Object
205 206 207 208 209 210 211 |
# File 'lib/eex2slime/hpricot_monkeypatches.rb', line 205 def to_slime if respond_to?(:children) && children children.map(&:to_slime).reject(&:nil?).join("\n") else '' end end |