Method: RIO::RL::WithPath#join
- Defined in:
- lib/rio/rl/withpath.rb
#join(*args) ⇒ Object
changes this RLs path so that is consists of this RL’s path combined with those of its arguments.
218 219 220 221 222 223 |
# File 'lib/rio/rl/withpath.rb', line 218 def join(*args) return self if args.empty? #sa = args.map { |arg| ::URI.escape(arg.to_s,ESCAPE) } sa = args.map { |arg| arg.to_s } join_(sa) end |