diff options
author | Xavier Noria <fxn@hashref.com> | 2016-08-11 00:51:05 +0200 |
---|---|---|
committer | Xavier Noria <fxn@hashref.com> | 2016-08-11 01:03:14 +0200 |
commit | 432222fae13c29b4696905d7c614bc80f67a6051 (patch) | |
tree | 9824839cc9eb5849f0b69271c66becd272d70627 /actionview/test/template/form_options_helper_test.rb | |
parent | a1623fc66788e46b459a8f01a8603a757aff11bf (diff) | |
download | rails-432222fae13c29b4696905d7c614bc80f67a6051.tar.gz rails-432222fae13c29b4696905d7c614bc80f67a6051.tar.bz2 rails-432222fae13c29b4696905d7c614bc80f67a6051.zip |
prefer __dir__ over __FILE__ in File.expand_path
Thinking .. relative to files is not natural, we are used
to think "parent of a directory", and we have __dir__
nowadays.
Diffstat (limited to 'actionview/test/template/form_options_helper_test.rb')
0 files changed, 0 insertions, 0 deletions