Module: MobileEnhancements
- Defined in:
- lib/mobile_enhancements.rb,
lib/mobile_enhancements/railtie.rb,
lib/mobile_enhancements/version.rb,
lib/mobile_enhancements/url_helper.rb,
lib/mobile_enhancements/configuration.rb,
lib/mobile_enhancements/route_helpers.rb,
lib/mobile_enhancements/request_helper.rb,
lib/mobile_enhancements/helper_delegation.rb
Defined Under Namespace
Modules: HelperDelegation, RouteHelpers, UrlHelper Classes: Configuration, Railtie, RequestHelper
Constant Summary collapse
- VERSION =
"0.0.5"
Class Method Summary collapse
-
.configuration ⇒ Object
sets up the default configuration and returns the configuration singleton.
-
.configure(&block) ⇒ Object
used to configure the settings by users.
Class Method Details
.configuration ⇒ Object
sets up the default configuration and returns the configuration singleton
13 14 15 |
# File 'lib/mobile_enhancements.rb', line 13 def self.configuration @configuration ||= Configuration.default end |
.configure(&block) ⇒ Object
used to configure the settings by users
18 19 20 |
# File 'lib/mobile_enhancements.rb', line 18 def self.configure(&block) configuration.instance_eval(&block) end |