Module: Mack::ViewHelpers::LinkHelpers
- Defined in:
- lib/mack-asset_packager/link_helpers.rb
Overview
:nodoc:
Instance Method Summary collapse
- #javascript(files, options = {}) ⇒ Object
- #old_javascripts ⇒ Object
- #old_stylesheets ⇒ Object
- #stylesheet(files, options = {}) ⇒ Object
Instance Method Details
#javascript(files, options = {}) ⇒ Object
7 8 9 |
# File 'lib/mack-asset_packager/link_helpers.rb', line 7 def javascript(files, = {}) process_file(files, 'javascripts', ) end |
#old_javascripts ⇒ Object
4 |
# File 'lib/mack-asset_packager/link_helpers.rb', line 4 alias_method :old_javascripts, :javascript |
#old_stylesheets ⇒ Object
5 |
# File 'lib/mack-asset_packager/link_helpers.rb', line 5 alias_method :old_stylesheets, :stylesheet |
#stylesheet(files, options = {}) ⇒ Object
11 12 13 |
# File 'lib/mack-asset_packager/link_helpers.rb', line 11 def stylesheet(files, = {}) process_file(files, 'stylesheets', ) end |