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

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

Instance Method Summary collapse

Instance Method Details

#sprockets_optionsObject



97
98
99
# File 'lib/roda/plugins/sprockets.rb', line 97

def sprockets_options
  opts[:sprockets]
end

#sprockets_regexpObject



101
102
103
# File 'lib/roda/plugins/sprockets.rb', line 101

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