Class: Parcels::Sprockets::StaticCompilerEnvProxy
- Inherits:
-
Object
- Object
- Parcels::Sprockets::StaticCompilerEnvProxy
- Defined in:
- lib/parcels/sprockets.rb
Instance Method Summary collapse
- #each_logical_path(*args, &block) ⇒ Object
-
#initialize(env) ⇒ StaticCompilerEnvProxy
constructor
A new instance of StaticCompilerEnvProxy.
- #method_missing(name, *args, &block) ⇒ Object
Constructor Details
#initialize(env) ⇒ StaticCompilerEnvProxy
Returns a new instance of StaticCompilerEnvProxy.
89 90 91 |
# File 'lib/parcels/sprockets.rb', line 89 def initialize(env) @env = env end |
Dynamic Method Handling
This class handles dynamic methods through the method_missing method
#method_missing(name, *args, &block) ⇒ Object
101 102 103 |
# File 'lib/parcels/sprockets.rb', line 101 def method_missing(name, *args, &block) @env.send(name, *args, &block) end |
Instance Method Details
#each_logical_path(*args, &block) ⇒ Object
93 94 95 96 97 98 99 |
# File 'lib/parcels/sprockets.rb', line 93 def each_logical_path(*args, &block) @env.each_logical_path(*args) do |logical_path| unless ::Parcels.is_fortitude_logical_path?(logical_path) block.call(logical_path) end end end |