Sha256: cacde4e8c98f97643830746fabd5b41a7709db0cd85f46fba34fcf7f721c03cb
Contents?: true
Size: 248 Bytes
Versions: 8
Compression:
Stored size: 248 Bytes
Contents
# -*- encoding: utf-8 -*- class String def force_html_extension self.gsub /markdown$/, 'html' end def force_html_extension! self.gsub! /markdown$/, 'html' end def markdown_ext? self.end_with?('.markdown') end end
Version data entries
8 entries across 8 versions & 1 rubygems