Class: ActionController::Routing::PathSegment::Result

Inherits:
Array
  • Object
show all
Defined in:
lib/action_controller/routing/segments.rb

Overview

:nodoc:

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.new_escaped(strings) ⇒ Object



277
278
279
# File 'lib/action_controller/routing/segments.rb', line 277

def self.new_escaped(strings)
  new strings.collect {|str| URI.unescape str}
end

Instance Method Details

#to_sObject



276
# File 'lib/action_controller/routing/segments.rb', line 276

def to_s() join '/' end