Module: Sevgi::Function::String
- Included in:
- Sevgi::Function
- Defined in:
- lib/sevgi/function/string.rb
Instance Method Summary collapse
Instance Method Details
#demodulize(path) ⇒ Object
6 7 8 9 10 11 12 13 |
# File 'lib/sevgi/function/string.rb', line 6 def demodulize(path) path = path.to_s if (i = path.rindex("::")) path[(i + 2), path.length] else path end end |