Class: Optipipe::Mapper

Inherits:
Object
  • Object
show all
Defined in:
lib/optipipe/models/mapper.rb

Class Method Summary collapse

Class Method Details

.get_javascript_mappers(controller_path) ⇒ Object



4
5
6
# File 'lib/optipipe/models/mapper.rb', line 4

def get_javascript_mappers(controller_path)
  get_yaml_data('javascripts')[controller_path]
end

.get_stylesheet_mappers(controller_path) ⇒ Object



8
9
10
# File 'lib/optipipe/models/mapper.rb', line 8

def get_stylesheet_mappers(controller_path)
  get_yaml_data('stylesheets')[controller_path]
end