Class: Germinate::CodeHunk
Instance Method Summary collapse
- #code_close_bracket=(new_value) ⇒ Object
- #code_open_bracket=(new_value) ⇒ Object
- #format_with(formatter) ⇒ Object
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
#code_close_bracket=(new_value) ⇒ Object
135 136 137 |
# File 'lib/germinate/hunk.rb', line 135 def code_close_bracket=(new_value) super end |
#code_open_bracket=(new_value) ⇒ Object
131 132 133 |
# File 'lib/germinate/hunk.rb', line 131 def code_open_bracket=(new_value) super end |
#format_with(formatter) ⇒ Object
140 141 142 143 144 |
# File 'lib/germinate/hunk.rb', line 140 def format_with(formatter) super(formatter) do |formatter| formatter.format_code!(self, comment_prefix) end end |