module Cronjob

Constants

VERSION

Public Class Methods

configuration() click to toggle source
# File lib/cronjob.rb, line 22
def self.configuration
  # ugly but lets follow the convention
  @configuration ||= Configuration.new
end
configure() { |configuration| ... } click to toggle source
# File lib/cronjob.rb, line 27
def self.configure
  yield(configuration)
end