Ruby5 #558
https://ruby5.codeschool.com/episodes/600-episode-558-june-12th-2015
- Regular Extremism
- advanced regular expression features
- Environment Variables
- Every process has its own set of environment variables
- A process gets its environment variables from its parent
- Children can’t set their parents’ environment variables
- Functional Programming in Ruby
- Monoids, Homomorphism, Functors, Monads
- Hash Default Values
Hash.new { |hash, key| hash[key] = fizz_and_or_bang(key) }
- Ruby Queries into SQL Statements
- “20,000 Leagues Under ActiveRecord” in his Barcelona Ruby Conference talk
- Dependency Injection
- some techniques used to help dry up code when using dependency injection
- Using default arguments
def initialize(input:, parser: Parser.new, gateway: Gateway.new)
♫ Stereolab - Miss Modular
by SoundHound