Sha256: 0f88b9146fef0eabc3cfe55c5876aa7672d1a6a3c0a377df34652b4c728cf622

Contents?: true

Size: 259 Bytes

Versions: 6

Compression:

Stored size: 259 Bytes

Contents

# frozen_string_literal: true

require 'whenever'

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

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
mako_rss-0.2.5 lib/mako/commands/schedule.rb
mako_rss-0.2.3 lib/mako/commands/schedule.rb
mako_rss-0.2.2 lib/mako/commands/schedule.rb
mako_rss-0.2.1 lib/mako/commands/schedule.rb
mako_rss-0.2.0 lib/mako/commands/schedule.rb
mako_rss-0.1.0 lib/mako/commands/schedule.rb