aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/MIT-LICENSE
diff options
context:
space:
mode:
authorTodd Lynam <TLynam@gmail.com>2016-04-20 18:35:43 -0700
committerTodd Lynam <TLynam@gmail.com>2016-04-20 18:35:43 -0700
commit406047d3acf94e3ce15705f870881632f631c52d (patch)
tree5344eca15a7f308aec9cf6e9dfded4a751203c2f /activesupport/MIT-LICENSE
parent778ab950084ea00f6ce0c731157e8e5cc22d1bf7 (diff)
downloadrails-406047d3acf94e3ce15705f870881632f631c52d.tar.gz
rails-406047d3acf94e3ce15705f870881632f631c52d.tar.bz2
rails-406047d3acf94e3ce15705f870881632f631c52d.zip
Update delegate to use newer Ruby syntax
This commit updates `delegate` to use the keyword argument syntax added in Ruby 2. I left the `ArgumentError` when `to` is missing, because it better explains how to correctly use `delegate`. We could instead rely on the default `ArgumentError` that would be raised if `to` were a required keyword argument.
Diffstat (limited to 'activesupport/MIT-LICENSE')
0 files changed, 0 insertions, 0 deletions