Sha256: e15dccd10b0722c74c5522099d7fe483d58186a7d4763b815eab05687f000223
Contents?: true
Size: 432 Bytes
Versions: 20
Compression:
Stored size: 432 Bytes
Contents
module Museum def self.configure(configuration = Museum::Configuration.new) if block_given? yield configuration end @@configuration = configuration end def self.configuration @@configuration ||= Museum::Configuration.new end class Configuration attr_accessor :username, :refresh_interval def initialize self.username = nil self.refresh_interval = 3600 end end end
Version data entries
20 entries across 20 versions & 1 rubygems