Method: EasyChangelog::Entry#path
- Defined in:
- lib/easy_changelog/entry.rb
#path ⇒ Object
22 23 24 25 26 27 |
# File 'lib/easy_changelog/entry.rb', line 22 def path filename = EasyChangelog::Utility.str_to_filename(body) = { type: type, name: filename, timestamp: Time.now.strftime('%Y%m%d%H%M%S') } format(EasyChangelog.configuration.entry_path_template, ) end |