Class: Pricecut::Elements::Strong

Inherits:
Element
  • Object
show all
Defined in:
lib/pricecut/elements/strong.rb

Direct Known Subclasses

B

Instance Attribute Summary

Attributes inherited from Element

#node, #visitor

Instance Method Summary collapse

Methods inherited from Element

#append_newline, #append_output, #initialize, #yield_children

Constructor Details

This class inherits a constructor from Pricecut::Elements::Element

Instance Method Details

#output!Object



4
5
6
# File 'lib/pricecut/elements/strong.rb', line 4

def output!
  p "**"; yield_children; p "**"
end