Module: Octarine::PathTemplate::StringExtention

Defined in:
lib/octarine/path_template.rb

Instance Method Summary collapse

Instance Method Details

#/(arg) ⇒ Object



6
7
8
# File 'lib/octarine/path_template.rb', line 6

def /(arg)
  PathTemplate.new(self).apply(*arg.respond_to?(:to_ary) ? arg : [arg])
end