Customize your Ruby classes with to_s and inspect
You just did an “extract class” refactor, and now your program’s output is all wrong. How do you fix it? Customize your Ruby classes with to_s and inspect. - RubySteps
Made a library? Written a blog post? Found a useful tutorial? Share it with the Ruby community here or just enjoy what everyone else has found!
You just did an “extract class” refactor, and now your program’s output is all wrong. How do you fix it? Customize your Ruby classes with to_s and inspect. - RubySteps
Post a comment