Class: String
Overview
:nodoc:
Instance Method Summary (collapse)
-
- (Object) to_task_name
REVISIT: what chars shall we allow in task names?.
Instance Method Details
- (Object) to_task_name
REVISIT: what chars shall we allow in task names?
4 5 6 7 8 |
# File 'lib/sprinkle/extensions/string.rb', line 4 def to_task_name s = downcase s.gsub!(/-/, '_') # all - to _ chars s end |