Sha256: 1799f2964f98d3947a6170ae45c1fccc6c487fe6a904a6570e892f9fd142beb8
Contents?: true
Size: 436 Bytes
Versions: 1
Compression:
Stored size: 436 Bytes
Contents
module Beso module Config extend ActiveSupport::Concern module ClassMethods def configure yield self end def start_time if @start_time @start_time elsif defined? BESO_START_TIME BESO_START_TIME.to_i else @start_time = 1.hour.ago.to_i end end def start_time=( value ) @start_time = value end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
beso-0.0.1 | lib/beso/config.rb |