Class: String
Instance Method Summary collapse
Instance Method Details
#as_path ⇒ Object
14 15 16 |
# File 'lib/crudboy/ext/string.rb', line 14 def as_path File.join(*(split(/\W/))) end |
#expa ⇒ Object
6 7 8 |
# File 'lib/crudboy/ext/string.rb', line 6 def expa File.(self) end |
#f ⇒ Object
10 11 12 |
# File 'lib/crudboy/ext/string.rb', line 10 def f expa end |
#p ⇒ Object
2 3 4 |
# File 'lib/crudboy/ext/string.rb', line 2 def p puts self end |