@api private
# File lib/moneta/utils.rb, line 14 def to_int(value) intvalue = value.to_i raise "#{value.inspect} is not an integer value" unless value == nil || intvalue.to_s == value.to_s intvalue end
# File lib/moneta/utils.rb, line 6 def without(hash, *keys) if keys.any? {|k| hash.include?(k) } hash = hash.dup keys.each {|k| hash.delete(k) } end hash end
[Validate]
Generated with the Darkfish Rdoc Generator 2.