Libraries
»
conductor
(0.5.13)
»
Index
»
Conductor
»
sanitize
Method: Conductor.sanitize
Defined in:
lib/conductor.rb
.
sanitize
(str) ⇒
Object
33 34 35
# File 'lib/conductor.rb', line 33
def
sanitize
(
str
)
str
.
gsub
(
/
\s
/
,
'
_
'
)
.
downcase
end