Class: Mako::Schedule

Inherits:
Object
  • Object
show all
Defined in:
lib/mako/commands/schedule.rb

Class Method Summary collapse

Class Method Details

.perform(_args) ⇒ Object



7
8
9
10
# File 'lib/mako/commands/schedule.rb', line 7

def self.perform(_args)
  Whenever::CommandLine.execute(file: File.expand_path('schedule.rb', Dir.pwd),
                                write: true)
end