# File lib/mcollective/data/result.rb, line 21 def [](key) @data[key.to_sym] end
# File lib/mcollective/data/result.rb, line 25 def []=(key, val) 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) @data[key.to_sym] = val end
# File lib/mcollective/data/result.rb, line 17 def include?(key) @data.include?(key.to_sym) end
Generated with the Darkfish Rdoc Generator 2.