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

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

Overview

:nodoc:

Class Method Summary (collapse)

Instance Method Summary (collapse)

Methods inherited from Array

#as_json, #to_json

Methods included from ActiveSupport::CoreExtensions::Array::Wrapper

#wrap

Methods included from ActiveSupport::CoreExtensions::Array::RandomAccess

#rand, #random_element

Methods included from ActiveSupport::CoreExtensions::Array::Grouping

#in_groups, #in_groups_of, #split

Methods included from ActiveSupport::CoreExtensions::Array::ExtractOptions

#extract_options!

Methods included from ActiveSupport::CoreExtensions::Array::Conversions

included, #to_formatted_s, #to_param, #to_query, #to_sentence, #to_xml

Methods included from ActiveSupport::CoreExtensions::Array::Access

#fifth, #forty_two, #fourth, #from, #second, #third, #to

Class Method Details

+ (Object) new_escaped(strings)



302
303
304
# File 'actionpack/lib/action_controller/routing/segments.rb', line 302

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

Instance Method Details

- (Object) to_s



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

def to_s() join '/' end