(Not documented)
# File lib/mcollective/data/result.rb, line 21 21: def [](key) 22: @data[key.to_sym] 23: end
(Not documented)
# File lib/mcollective/data/result.rb, line 25 25: def []=(key, val) 26: raise "Can only store String, Integer, Float or Boolean data but got #{val.class} for key #{key}" unless [String, Fixnum, Bignum, Float, TrueClass, FalseClass].include?(val.class) 27: 28: @data[key.to_sym] = val 29: end
(Not documented)
# File lib/mcollective/data/result.rb, line 17 17: def include?(key) 18: @data.include?(key.to_sym) 19: end
(Not documented)
# File lib/mcollective/data/result.rb, line 31 31: def keys 32: @data.keys 33: end
(Not documented)
# File lib/mcollective/data/result.rb, line 35 35: def method_missing(method, *args) 36: key = method.to_sym 37: 38: raise NoMethodError, "undefined local variable or method `%s'" % key unless include?(key) 39: 40: @data[key] 41: end
Disabled; run with --debug to generate this.
Generated with the Darkfish Rdoc Generator 1.1.6.