❮ Index
❯
TOC: Ruby programming
- Introduction to Ruby
- Where to get Ruby
- Ruby on the command line
- irb - Interactive Ruby
- Hello world
- Ruby development environment
- Create variable and print content using puts
- Hello Foo using puts
- Hello Foo - print
- Ruby variable interpolation
- Hello Foo - puts with interpolation
- Hello Foo STDIN read
- Hello Foo STDIN and strip
- Hello Foo ARGV
- Interpolation with expression
- Ruby conditionals - if statement
- Ruby conditionals - if else statement
- Ruby path to current script
- Ruby command line arguments ARGV
- Variable Types in Ruby
- Resources
- Ruby Arrays
- Hashes
- Functions
- Filesystem
- Time
- net/http
- API requests
- GET URL httpbin
- GET URL that does not exist (404 error)
- GET URL that pretends not to exist (404)
- GET URL that pretends to crash (500)
- Show request headers
- Get request headers using Firefox
- Get request headers using curl
- Set request headers
- Sending a POST request
- Setting header in POST request
- Debugging a failed request
- GET URL
- Other