Skip to content

runtime-debug-all/Print_Assignment_Occoured

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

Benefits provided by this log:

  1. Your logs are automatic
  2. Feedback is as "good", as your variable names, so it encourages good short names. a good programming practice.
  3. User can specify lines "20 - 30" and program will restrict overhead to that location.

The repository is initially using defined?() method in ruby to tell me if an assignment occoured. Assignment will print adjacently, but print max 1 newline for any number of non assignments between previous assignment and non assignment.

output intended:

it should print line number, var name, and var value line 10, testB, val 5 || line 11, testB, val 4 || line 10, testB, val 6 || line 11, testB, val 4

line 20, testC, val 2 || line 21, testD, val 3

line 24, testB, val 2

end

About

Ruby, Program gets excited and proclaims each assignment.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages