class YDIM::Html::State::Global::Stub
Public Class Methods
new()
click to toggle source
# File lib/ydim/html/state/global.rb, line 20 def initialize @carry = {} end
Public Instance Methods
carry(key, val)
click to toggle source
# File lib/ydim/html/state/global.rb, line 23 def carry(key, val) @carry.store(key, val) end
method_missing(key, *args)
click to toggle source
# File lib/ydim/html/state/global.rb, line 26 def method_missing(key, *args) if(match = /^(.*)=$/.match(key.to_s)) @carry[match[1].to_sym] = args.first else @carry[key] end end
respond_to?(key)
click to toggle source
# File lib/ydim/html/state/global.rb, line 33 def respond_to?(key) true end