Class: Bunto::Assets::Cached
- Inherits:
-
Sprockets::CachedEnvironment
- Object
- Sprockets::CachedEnvironment
- Bunto::Assets::Cached
- Defined in:
- lib/bunto/assets/cached.rb
Instance Attribute Summary collapse
-
#bunto ⇒ Object
readonly
Returns the value of attribute bunto.
-
#parent ⇒ Object
readonly
Returns the value of attribute parent.
Instance Method Summary collapse
-
#initialize(env) ⇒ Cached
constructor
A new instance of Cached.
Constructor Details
#initialize(env) ⇒ Cached
Returns a new instance of Cached.
13 14 15 16 17 |
# File 'lib/bunto/assets/cached.rb', line 13 def initialize(env) @parent = env @bunto = env.bunto super env end |
Instance Attribute Details
#bunto ⇒ Object (readonly)
Returns the value of attribute bunto.
10 11 12 |
# File 'lib/bunto/assets/cached.rb', line 10 def bunto @bunto end |
#parent ⇒ Object (readonly)
Returns the value of attribute parent.
11 12 13 |
# File 'lib/bunto/assets/cached.rb', line 11 def parent @parent end |