1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

make variable name more clear

This commit is contained in:
Aaron Patterson 2014-05-21 11:56:12 -07:00
parent 7bc25f0035
commit da83a6f126

View file

@ -31,7 +31,7 @@ module ActionDispatch
@parts = nil
@decorated_ast = nil
@precedence = 0
@formatter = @path.build_formatter
@path_formatter = @path.build_formatter
end
def ast
@ -73,7 +73,7 @@ module ActionDispatch
alias :segment_keys :parts
def format(path_options)
@formatter.evaluate path_options
@path_formatter.evaluate path_options
end
def optimized_path