Module: StickyFlag::Tags::TeX

Defined in:
lib/stickyflag/tags/tex.rb

Class Method Summary collapse

Class Method Details

.clearObject

.comment_line_regexObject



13
14
15
# File 'lib/stickyflag/tags/tex.rb', line 13

def comment_line_regex
  /\A% .*/
end

.extensionsObject



9
10
11
# File 'lib/stickyflag/tags/tex.rb', line 9

def extensions
  [ '.tex' ]
end

.getObject

.setObject

.tag_line_for(str) ⇒ Object



21
22
23
# File 'lib/stickyflag/tags/tex.rb', line 21

def tag_line_for(str)
  "% SF_TAGS = #{str}"
end

.tag_line_regexObject



17
18
19
# File 'lib/stickyflag/tags/tex.rb', line 17

def tag_line_regex
  /\A% SF_TAGS = (.*)/
end

.unsetObject