| Class | String |
| In: |
lib/ext/string.rb
|
| Parent: | Object |
| subcamelcase | -> | lower_camel_case |
| camelcase | -> | camel_case |
| snakecase | -> | snake_case |
| titlecase | -> | title_case |
Syntactic sugar for using File.join to concatenate the argument to the receiver.
require "lib" / "utilities" / "string"
The idea is not original, but we can‘t remember where we first saw it. Waves::Ext::Symbol defines the same method, allowing for :files / ‘afilename.txt‘
# File lib/ext/string.rb, line 13
13: def / ( s ) ; File.join( self, s.to_s ); end