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



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

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

.get_stylesheet_mappers(controller_path) ⇒ Object



13
14
15
# File 'lib/optipipe/models/mapper.rb', line 13

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