Module: HumanValue::Extensions::Naming

Defined in:
lib/human_value/extensions/naming.rb

Class Method Summary collapse

Class Method Details

.loadObject



4
5
6
7
8
9
# File 'lib/human_value/extensions/naming.rb', line 4

def self.load
  HumanValue.humanize :named do
    test   { |v| v.respond_to?(:name) }
    coerce { |v| v.name.to_s }
  end
end