module Isurvey::Base
Attributes
hash[R]
Public Class Methods
new(options)
click to toggle source
# File lib/isurvey/base.rb, line 5 def initialize(options) @hash = options[:hash] end
Public Instance Methods
method_missing(method, *args, &block)
click to toggle source
Calls superclass method
# File lib/isurvey/base.rb, line 9 def method_missing(method, *args, &block) if hash.has_key? method @hash[method] else super end end