Class: WorkMd::Commands::Yesterday

Inherits:
Object
  • Object
show all
Defined in:
lib/work_md/commands/yesterday.rb

Class Method Summary collapse

Class Method Details

.execute(_argv = []) ⇒ Object



7
8
9
# File 'lib/work_md/commands/yesterday.rb', line 7

def execute(_argv = [])
  WorkMd::File.open_or_create(Date.today.prev_day)
end