Skip to content

Commit

Permalink
Fix Kernel#instance_variables to prefix vars with '@'
Browse files Browse the repository at this point in the history
  • Loading branch information
adambeynon committed Oct 8, 2013
1 parent 0b906ff commit a206e46
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion corelib/kernel.rb
Expand Up @@ -299,7 +299,7 @@ def instance_variables
for (var name in #{self}) {
if (name.charAt(0) !== '$') {
result.push(name);
result.push('@' + name);
}
}
Expand Down

0 comments on commit a206e46

Please sign in to comment.