Method: Moft::Converters::Markdown#matches
- Defined in:
- lib/moft/converters/markdown.rb
#matches(ext) ⇒ Object
28 29 30 31 |
# File 'lib/moft/converters/markdown.rb', line 28 def matches(ext) rgx = '(' + @config['markdown_ext'].gsub(',','|') +')' ext =~ Regexp.new(rgx, Regexp::IGNORECASE) end |