Class: Bunto::Assets::Cached

Inherits:
Sprockets::CachedEnvironment
  • Object
show all
Defined in:
lib/bunto/assets/cached.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#buntoObject (readonly)

Returns the value of attribute bunto.



10
11
12
# File 'lib/bunto/assets/cached.rb', line 10

def bunto
  @bunto
end

#parentObject (readonly)

Returns the value of attribute parent.



11
12
13
# File 'lib/bunto/assets/cached.rb', line 11

def parent
  @parent
end