Object
# File lib/sass/rails/template_handlers.rb, line 42 def audio_path(audio) context.audio_path(audio) end
# File lib/sass/rails/template_handlers.rb, line 54 def font_path(font) context.font_path(font) end
# File lib/sass/rails/template_handlers.rb, line 34 def image_path(img) context.image_path(img) end
# File lib/sass/rails/template_handlers.rb, line 46 def javascript_path(javascript) context.javascript_path(javascript) end
# File lib/sass/rails/template_handlers.rb, line 30 def process(path) context.environment[path].to_s end
# File lib/sass/rails/template_handlers.rb, line 26 def public_path(path, scope = nil, options = {}) context.asset_paths.compute_public_path(path, ::Rails.application.config.assets.prefix, options) end
# File lib/sass/rails/template_handlers.rb, line 14 def resolve(path, content_type = :self) options = {} options[:content_type] = content_type unless content_type.nil? context.resolve(path, options) rescue Sprockets::FileNotFound, Sprockets::ContentTypeMismatch nil end
# File lib/sass/rails/template_handlers.rb, line 22 def source_path(path, ext) context.asset_paths.compute_source_path(path, ::Rails.application.config.assets.prefix, ext) end
Generated with the Darkfish Rdoc Generator 2.