Class: Germinate::TextHunk
Instance Method Summary collapse
Methods inherited from Hunk
#[], #index_matching, #initialize, #inspect, #resolve_insertions, #slice, #strip
Methods included from SharedStyleAttributes
#copy_shared_style_attrubutes_from, #shared_style_attributes
Constructor Details
This class inherits a constructor from Germinate::Hunk
Instance Method Details
#format_with(formatter) ⇒ Object
123 124 125 126 127 |
# File 'lib/germinate/hunk.rb', line 123 def format_with(formatter) super(formatter) do |formatter| formatter.format_text!(self, comment_prefix) end end |