Sha256: 9bad367bf2926c4f4650233eac2c5839b9518b906c184715ff9db4285e6417e3
Contents?: true
Size: 536 Bytes
Versions: 3
Compression:
Stored size: 536 Bytes
Contents
require 'qujo/version' require 'qujo/concerns/common' require 'qujo/concerns/logging' require 'qujo/concerns/model' require 'qujo/concerns/status' if defined?(Rails) require "qujo/engine" end module Qujo class << self def configure @cfg ||= OpenStruct.new({ :ui_status => true, :logger => ::Rails.logger, :models => "Jobs" }) yield @cfg if block_given? true end def config @cfg end def logger config.logger end end end Qujo.configure
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
qujo-0.1.4 | lib/qujo.rb |
qujo-0.1.3 | lib/qujo.rb |
qujo-0.1.2 | lib/qujo.rb |