Sha256: e73f84d276d9e18f5e290d3c8d016be39253198b4bf496d3039678ee2777c305

Contents?: true

Size: 589 Bytes

Versions: 5

Compression:

Stored size: 589 Bytes

Contents

require "mobile_enhancements/version"
require "mobile_enhancements/configuration"
require "mobile_enhancements/request_helper"
require "mobile_enhancements/helper_delegation"
require "mobile_enhancements/route_helpers"

if defined?(Rails)
  require "mobile_enhancements/railtie"
end

module MobileEnhancements
  # sets up the default configuration and returns the configuration singleton
  def self.configuration
    @configuration ||= Configuration.default
  end
  
  # used to configure the settings by users
  def self.configure(&block)
    configuration.instance_eval(&block)
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
mobile-enhancements-0.0.5 lib/mobile_enhancements.rb
mobile-enhancements-0.0.4 lib/mobile_enhancements.rb
mobile-enhancements-0.0.3 lib/mobile_enhancements.rb
mobile-enhancements-0.0.2 lib/mobile_enhancements.rb
mobile-enhancements-0.0.1 lib/mobile_enhancements.rb