Implement to_ary to avoid calls to method_missing #466

Merged
merged 1 commit into from Sep 4, 2013
View
@@ -18,6 +18,11 @@ def method_missing(method_id, *arguments)
def to_s
"version=#{route_version}, method=#{route_method}, path=#{route_path}"
end
-
+
+ private
+ def to_ary
+ nil
+ end
+
end
end