lib/acfs/location.rb in acfs-1.6.0 vs lib/acfs/location.rb in acfs-1.7.0
- old
+ new
@@ -28,10 +28,10 @@
build(vars)
end
def str
uri = raw.dup
- uri.path = "/#{struct.map(&method(:lookup_variable)).join('/')}"
+ uri.path = "/#{struct.map {|s| lookup_variable(s) }.join('/')}"
uri.to_s
end
def raw_uri
raw.to_s