banister / method_source

return the sourcecode for a method
MIT License
361 stars 43 forks source link

Code strings ending with $\ are determined to be incomplete #32

Open egwspiti opened 9 years ago

egwspiti commented 9 years ago
> MethodSource.complete_expression?('$\\')
 => false 

$\ is a global variable however, and thus it shouldn't be determined as incomplete