aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_dispatch/routing/mapper.rb
diff options
context:
space:
mode:
authorSantosh Wadghule <santosh.wadghule@gmail.com>2015-06-01 11:08:46 +0530
committerSantosh Wadghule <santosh.wadghule@gmail.com>2015-06-01 14:04:19 +0530
commit11fecafcf2fc0193add7ba32428fa60b16ed4d2b (patch)
tree1ff646ef014a790c0df6dcc312203c774f2c24fa /actionpack/lib/action_dispatch/routing/mapper.rb
parentefd3d20dd19e4fb1f5daa78a52ca83642953c92a (diff)
downloadrails-11fecafcf2fc0193add7ba32428fa60b16ed4d2b.tar.gz
rails-11fecafcf2fc0193add7ba32428fa60b16ed4d2b.tar.bz2
rails-11fecafcf2fc0193add7ba32428fa60b16ed4d2b.zip
[ci skip] Used 'instance_variables' in example for consistency.
- Found that checking instance_variables elements using string object gives us 'false' value. `instance_variables.include? "@articles" # => false` - Used only 'instance_variables' instead of using '.include?' on it. So that it will return recent instance variables list.
Diffstat (limited to 'actionpack/lib/action_dispatch/routing/mapper.rb')
0 files changed, 0 insertions, 0 deletions