Sha256: 669ce18d3dec1462a555adab1167998d41253e0825e1d69e560e8a7c1f48665e
Contents?: true
Size: 279 Bytes
Versions: 1
Compression:
Stored size: 279 Bytes
Contents
module Docushin module ApplicationHelper def generate_name(verb, path) return Digest::MD5.hexdigest(verb + path) end def file_exists?(verb, path) File.exists?(File.join(Rails.root, 'doc', 'docushin', generate_name(verb, path)) + '.md') end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
docushin-0.0.1 | app/helpers/docushin/application_helper.rb |