Class: Fuji::Helper

Inherits:
Object
  • Object
show all
Defined in:
lib/fuji/helper.rb

Class Method Summary collapse

Class Method Details

.dehumanize(string) ⇒ Object



4
5
6
# File 'lib/fuji/helper.rb', line 4

def self.dehumanize string
  string.downcase.gsub(/\W+/, '-')
end