Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

We need [] method here. previously it's an array.

  • Loading branch information...
commit 5bc87cc2ee684ec19b9dada596c901488dc9295b 1 parent 943a373
@arunagw arunagw authored
Showing with 4 additions and 0 deletions.
  1. +4 −0 actionpack/lib/action_view/path_set.rb
View
4 actionpack/lib/action_view/path_set.rb
@@ -14,6 +14,10 @@ def initialize_copy(other)
self
end
+ def [](i)
+ paths[i]
+ end
+
def to_ary
paths.dup
end
Please sign in to comment.
Something went wrong with that request. Please try again.