aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/test/callbacks_test.rb
diff options
context:
space:
mode:
authorKasper Timm Hansen <kaspth@gmail.com>2015-12-05 21:42:29 +0100
committerKasper Timm Hansen <kaspth@gmail.com>2015-12-05 21:42:29 +0100
commit7fa8431c69f98fa663cf9bebcd5216741e2e0558 (patch)
treea17739d588ed099eeb1bd65acac2e9f4aa973e82 /activesupport/test/callbacks_test.rb
parent754a3641f5bab6a2dbe3e4e42e7903090714b1ae (diff)
downloadrails-7fa8431c69f98fa663cf9bebcd5216741e2e0558.tar.gz
rails-7fa8431c69f98fa663cf9bebcd5216741e2e0558.tar.bz2
rails-7fa8431c69f98fa663cf9bebcd5216741e2e0558.zip
Default `argv` to an empty array.
The `ARGV` constant in Ruby is not a string, it's an array as demonstrated by running: ``` $ ruby -e "p ARGV" => [] $ $ ruby -e "p ARGV" test/file.rb --version=2 => ["test/file.rb", "--version=2"] ```
Diffstat (limited to 'activesupport/test/callbacks_test.rb')
0 files changed, 0 insertions, 0 deletions