Class: ActionController::Routing::PathComponent::Result

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

Overview

:nodoc:

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.new_escaped(strings) ⇒ Object


293
294
295
# File 'lib/action_controller/routing.rb', line 293

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

Instance Method Details

#to_sObject


292
# File 'lib/action_controller/routing.rb', line 292

def to_s() join '/' end