Module: SprocketsApplication

Defined in:
lib/sprockets_application.rb

Class Method Summary (collapse)

Class Method Details

+ (Object) install_assets



18
19
20
# File 'lib/sprockets_application.rb', line 18

def install_assets
  secretary.install_assets
end

+ (Object) install_script



14
15
16
# File 'lib/sprockets_application.rb', line 14

def install_script
  concatenation.save_to(asset_path)
end

+ (Object) routes(map)



6
7
8
# File 'lib/sprockets_application.rb', line 6

def routes(map)
  map.resource(:sprockets)
end

+ (Object) source



10
11
12
# File 'lib/sprockets_application.rb', line 10

def source
  concatenation.to_s
end