class CollinsShell::Util::AssetStache
Attributes
asset[RW]
Public Class Methods
new(asset)
click to toggle source
# File lib/collins_shell/util/asset_stache.rb, line 8 def initialize asset @asset = asset end
Public Instance Methods
method_missing(meth, *args, &block)
click to toggle source
Calls superclass method
# File lib/collins_shell/util/asset_stache.rb, line 21 def method_missing meth, *args, &block result = asset.send(meth.to_sym) if result.nil? then super else result end end
respond_to?(meth)
click to toggle source
Calls superclass method
# File lib/collins_shell/util/asset_stache.rb, line 12 def respond_to? meth result = asset.send(meth.to_sym) if result.nil? then super else result end end