Class: Shortcuts::TodayShortcut

Inherits:
Shortcut
  • Object
show all
Defined in:
lib/bujo/shortcuts/today_shortcut.rb

Instance Attribute Summary

Attributes inherited from Shortcut

#name, #source, #target

Instance Method Summary collapse

Methods inherited from Shortcut

#create, #to_s

Constructor Details

#initializeTodayShortcut

Returns a new instance of TodayShortcut.



9
10
11
# File 'lib/bujo/shortcuts/today_shortcut.rb', line 9

def initialize
  super("Today", "logs/#{computer_readable_date}.html", "logs/today.html")
end