Class: Jsdebug::Rails::DirectiveProcessor
- Inherits:
-
Sprockets::DirectiveProcessor
- Object
- Sprockets::DirectiveProcessor
- Jsdebug::Rails::DirectiveProcessor
- Defined in:
- lib/jsdebug/directive_processor.rb
Instance Method Summary collapse
Instance Method Details
#process_require_environment_directive(path, environment = "production development test") ⇒ Object
7 8 9 |
# File 'lib/jsdebug/directive_processor.rb', line 7 def process_require_environment_directive(path, environment="production development test") process_require_directive(path) if environment.include? ::Rails.env end |