Sha256: f70be932c3b96017751b4c01c4f17226ab1dd2d593b2eed04e643dec47d28f91
Contents?: true
Size: 339 Bytes
Versions: 3
Compression:
Stored size: 339 Bytes
Contents
module RailsPages class Configuration attr_accessor :default_routes def initialize @default_routes = true end end class << self attr_accessor :configuration end def self.configuration @configuration ||= Configuration.new end def self.configure yield configuration if block_given? end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
rails_pages-0.0.4 | lib/rails_pages/configuration.rb |
rails_pages-0.0.3 | lib/rails_pages/configuration.rb |
rails_pages-0.0.2 | lib/rails_pages/configuration.rb |