Skip to content

Commit

Permalink
Proper lines numbers for stack trace info
Browse files Browse the repository at this point in the history
  • Loading branch information
spastorino committed Sep 17, 2011
1 parent 6dae0ab commit 12a7dc4
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -136,7 +136,7 @@ def to_yaml(*args)
end

for unsafe_method in UNSAFE_STRING_METHODS
class_eval <<-EOT, __FILE__, __LINE__
class_eval <<-EOT, __FILE__, __LINE__ + 1
def #{unsafe_method}(*args)
super.to_str
end
Expand Down

0 comments on commit 12a7dc4

Please sign in to comment.