learn-co-curriculum / programming-univbasics-3-introduction

Other
0 stars 3 forks source link

Jumbled/unclear explanation in Method Scope (Programming as Conversation pt3) reading #5

Closed theoluyi closed 4 years ago

theoluyi commented 4 years ago

This paragraph explaining scope within a method is unclear:

"Now if you run this code in IRB, you will see the output "Hello World!". But even if you didn't use puts on local_variable, for a brief second, as my_ruby_method the variable would exist in the method's local scope."

I think it means to say local_variable "would exist in the method's local scope." At present the way it's written is confusing.

maxwellbenton commented 4 years ago

Hi @theoluyi,

Thank you for spotting this and providing feedback. Your issue helped us identify a problem that was preventing this lesson from updating. We've resolved the problem and updated the Readme, which should resolve this issue.

Thank you for contributing to a Learn lesson!