module DailyLog
Constants
- VERSION
Public Instance Methods
open_or_print(options = {})
click to toggle source
Open or print the Entry
file, depending on the options
# File lib/daily_log.rb, line 15 def open_or_print(options = {}) @day = Day.new(options[:date]) @entry = Entry.new(@day) puts @entry.pathname if options[:path] @entry.print if options[:print] @entry.open if options[:edit] end