Module: StickyFlag::Tags::C
- Defined in:
- lib/stickyflag/tags/c.rb
Class Method Summary collapse
- .clear ⇒ Object
- .comment_line_regex ⇒ Object
- .extensions ⇒ Object
- .get ⇒ Object
- .set ⇒ Object
- .tag_line_for(str) ⇒ Object
- .tag_line_regex ⇒ Object
- .unset ⇒ Object
Class Method Details
.clear ⇒ Object
.comment_line_regex ⇒ Object
13 14 15 |
# File 'lib/stickyflag/tags/c.rb', line 13 def comment_line_regex /\A\/\/ .*/ end |
.extensions ⇒ Object
9 10 11 |
# File 'lib/stickyflag/tags/c.rb', line 9 def extensions [ '.c', '.cpp', '.cxx', '.c++', '.h', '.hpp', '.hxx' ] end |
.get ⇒ Object
.set ⇒ Object
.tag_line_for(str) ⇒ Object
21 22 23 |
# File 'lib/stickyflag/tags/c.rb', line 21 def tag_line_for(str) "// SF_TAGS = #{str}" end |
.tag_line_regex ⇒ Object
17 18 19 |
# File 'lib/stickyflag/tags/c.rb', line 17 def tag_line_regex /\A\/\/ SF_TAGS = (.*)/ end |