Module: Lash
- Defined in:
- lib/lash.rb,
lib/lash/files.rb,
lib/lash/railtie.rb,
lib/lash/version.rb,
lib/lash/assets_host.rb,
lib/lash/bundle_helper.rb,
lib/lash/sprite_bundler.rb,
lib/lash/closure_minifier.rb,
lib/lash/java_script_bundler.rb,
lib/lash/java_script_minifier.rb
Defined Under Namespace
Modules: AssetsHost, BundleHelper, Files Classes: ClosureMinifier, JavaScriptBundler, JavaScriptMinifier, Railtie, SpriteBundler
Constant Summary collapse
- VERSION =
"1.0.3"
Class Method Summary collapse
-
.lash_options ⇒ Object
Options for bundle helpers are optional and get their default values from the Lash::ViewHelpers.lash_options hash.
-
.lash_options=(options) ⇒ Object
Overrides the default Lash.lash_options.
Class Method Details
.lash_options ⇒ Object
Options for bundle helpers are optional and get their default values from the Lash::ViewHelpers.lash_options hash. You can write to this hash to override default options on the global level:
Lash.[:unicorns] = 'run free'
8 |
# File 'lib/lash.rb', line 8 def self.() @lash_options; end |
.lash_options=(options) ⇒ Object
Overrides the default lash_options
17 |
# File 'lib/lash.rb', line 17 def self.() @lash_options = ; end |