Class: WickedPdf::WickedPdfHelper::Assets::SprocketsEnvironment

Inherits:
Object
  • Object
show all
Defined in:
lib/wicked_pdf/wicked_pdf_helper/assets.rb

Class Method Summary collapse

Class Method Details

.find_asset(*args) ⇒ Object



50
51
52
# File 'lib/wicked_pdf/wicked_pdf_helper/assets.rb', line 50

def self.find_asset(*args)
  instance.find_asset(*args)
end

.instanceObject



46
47
48
# File 'lib/wicked_pdf/wicked_pdf_helper/assets.rb', line 46

def self.instance
  @instance ||= Sprockets::Railtie.build_environment(Rails.application)
end