Module: Roda::RodaPlugins::Sprockets::ClassMethods

Defined in:
lib/roda/plugins/sprockets.rb

Instance Method Summary collapse

Instance Method Details

#sprockets_optionsObject



99
100
101
# File 'lib/roda/plugins/sprockets.rb', line 99

def sprockets_options
  opts[:sprockets]
end

#sprockets_regexpObject



103
104
105
# File 'lib/roda/plugins/sprockets.rb', line 103

def sprockets_regexp
  %r{#{sprockets_options[:sprockets_helpers].prefix[1..-1]}/(.*)}
end