Class: RDocRuboCop::Lang::C::Comment::OneLine

Inherits:
RDocRuboCop::Lang::C::Comment show all
Defined in:
lib/rdoc_rubocop/lang/c/comment/one_line.rb

Instance Attribute Summary

Attributes inherited from RDocRuboCop::Lang::C::Comment

#comment_text, #offset_begin, #offset_end, #source_file

Instance Method Summary collapse

Methods inherited from RDocRuboCop::Lang::C::Comment

build, #initialize, #length

Methods inherited from Base::Comment

#rdoc, #source_codes

Constructor Details

This class inherits a constructor from RDocRuboCop::Lang::C::Comment

Instance Method Details

#corrected_textObject



6
7
8
# File 'lib/rdoc_rubocop/lang/c/comment/one_line.rb', line 6

def corrected_text
  "#{@begin_str}#{rdoc.apply}#{@end_str}"
end