Ruby Newbies -- 5 things that are in fact, not magic

Leandog Inc, 1151 N Marginal Road, Cleveland, OH

49 attended Thu, Nov 7, 2013, 6:00PM

Ruby is a complex programming language. It’s power comes from the richness and flexibility of the language’s features.There’s so many cool and interesting bits to ruby, that sometimes we don’t take the time to fully grok them all. It’s possible to use a Ruby feature everyday, but not really understand how it works. In this talk, we’ll dig deep into 5 of the most commonly misunderstood aspects of programming in Ruby. Geared mostly towards newer Ruby devs, but there’ll certainly be something for everyone! This month we have a special guest Joe Cannatti sharing his experiences!

Remember to bring your laptops if you're interested in looking for a pair to do katas with. We will start katas at 6:00 and open the floor up to Joe Cannatti at 7:00

Code evaluation time
Methods called while defining a class (attr_accessor, has_many, etc) What really is ‘def’? What really is ‘class << self' include vs extend class_eval vs instance_eval RSpec block evaluation and matchers
So….#should is a method…right? And well….it takes an argument…and eq is another method that returns something…right? We’ll clear this all up! What context and describe really do Lambda vs Block vs Method vs Proc
Ruby has 4 types of closures! We’ll make sure we all know what’s different about each of them. How blocks are used in Enumerables. How #each, #map, and #inject work Syntactic sugar
Options passed as a hash without {}’s operators, (+, [], <<) did you know these are all methods? File Loading
How files are loaded in Rails How Ruby require is different from how other languages do it. How gems are downloaded and required

View on Meetup