Learn to program /
Pine, Chris,author.
"Updated for Ruby 3"--Front cover.
Previous edition: 2009.
Includes index.
Introduction - Part 1. Numbers - Printing to the screen - Integers and Floats - Simple Arithmetic - Progress Checkpoint - Part 2. Letters - String Arithmetic - Numbers vs. Digits - When bad things happen to good programs - progress checkpoint - Part 3. Variables and assignment - variables point to values - progress checkpoint - Part 4. Conversions and input - numbers to strings and back again - let me tell you a secret - getting strings from the user - cleaning up user input - good variable names - progress checkpoint - Part 5. Methods - fancy string methods - more arithmetic - random numbers - the math object - progress checkpoint - Part 6. Flow control - comparison methods - branching --- looping - a little bit of logic - progress checkpoint - Part 7. Arrays and Iterators - my first iterator - more array methods - progress checkpoint - Part 8. Custom methods - method arguments: what goes in - local variables: what's inside - experiment: stuby - return values: what comes out - progress checkpoint - Part 9. File input and output - really doing something - the thing about computers - saving and loading for grown-ups - JSON - back to our regularly scheduled programming - renaming photos - progress checkpoint - Part 10. More classes and methods - the time class - the hash class - the range class - stringy superpowers - classes and the class class - progress checkpoint - Part 11. Custom classes and class extensions - creating classes - instance variables --methods: new vs. initialize - the care and feeding of your baby dragon - progress checkpoint - Part 12. Remote data and APIs - random jokes - respect - trivia database - location of the ISS - where did I put my keys? - Movie search - progress checkpoint - Part 13. Blocks and procs - methods that take procs - methods that return procs - passing blocks (not procs) into methods - progress checkpoint - Part 15. Beyond this book - interactive Ruby (irb) - the pickaxe: programming Ruby - Ruby-Doc.org - stack overflow - Tim Toady - you did it.
Object-oriented programming (Computer science)
Ruby (Computer program language)
Object-oriented programming (Computer science)
Ruby (Computer program language)