Sha256: f3bc9b10d34dafe7d374a43ab30232ea442c3520246f527d86dd89a536aa19cc
Contents?: true
Size: 347 Bytes
Versions: 1
Compression:
Stored size: 347 Bytes
Contents
module Whenever class WebConfig attr_accessor :schedule_file, :parent_controller, :layout def initialize @schedule_file = 'config/schedule.rb' @parent_controller = 'Whenever::WebController' @layout = 'admin' end def parent_controller @parent_controller.to_s.constantize end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
whenever-web-0.0.5 | app/models/whenever/web_config.rb |