module SmartListing
Constants
- VERSION
Public Class Methods
config(profile = nil)
click to toggle source
# File lib/smart_listing/config.rb, line 10 def self.config profile = nil profile ||= :default @@configs ||= {} @@configs[profile] ||= SmartListing::Configuration.new end
configure(profile = nil) { |configs ||= configuration| ... }
click to toggle source
# File lib/smart_listing/config.rb, line 4 def self.configure profile = nil profile ||= :default @@configs ||= {} yield @@configs[profile] ||= SmartListing::Configuration.new end