Class: Gotenberg::Helper::SprocketsEnvironment

Inherits:
Object
  • Object
show all
Defined in:
lib/gotenberg/helper.rb

Overview

rubocop:disable Style/Documentation

Class Method Summary collapse

Class Method Details

.find_asset(*args) ⇒ Object



64
65
66
# File 'lib/gotenberg/helper.rb', line 64

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

.instanceObject



60
61
62
# File 'lib/gotenberg/helper.rb', line 60

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