Object
# File lib/docile/fallback_context_proxy.rb, line 41 def __proxy_method__(method, *args, &block) begin @__receiver__.__send__(method.to_sym, *args, &block) rescue ::NoMethodError => e begin @__fallback__.__send__(method.to_sym, *args, &block) rescue ::NoMethodError raise(e) end end end
# File lib/docile/fallback_context_proxy.rb, line 22 def id @__receiver__.__send__(:id) end
Special case to allow proxy instance variables
# File lib/docile/fallback_context_proxy.rb, line 32 def instance_variables # Ruby 1.8.x returns string names, convert to symbols super.map(&:to_sym) - NON_PROXIED_INSTANCE_VARIABLES.to_a end
Generated with the Darkfish Rdoc Generator 2.