Class: Array

Inherits:
Object show all
Defined in:
lib/gems/validatable-1.6.7/test/test_helper.rb,
lib/gems/tmail-1.2.3.1/lib/tmail/core_extensions.rb

Instance Method Summary collapse

Instance Method Details

#to_blank_options_hashObject



30
31
32
# File 'lib/gems/validatable-1.6.7/test/test_helper.rb', line 30

def to_blank_options_hash
  self.inject({}) {|hash, value| hash[value] = nil; hash }
end