Menu Close Menu
Menu
  • Home
  • Stuff I Do
    • RubyTapas Screencasts
    • Pairing
    • Consulting & Coaching
    • Speaking
    • Courses
    • Newsletters
    • Books
    • Podcasts
    • Patreon
  • Blog
  • About
    • About Avdi
    • Hire Me
    • Contact
  • Learn

avdi.codes

Avdi Grimm, Code Cleric

metaprogramming

Safely Call Superclass Methods from Ruby Modules

In today’s RubyTapas throwback, we tackle a metaprogramming topic. How do you reliably call superclass methods from included modules… when you can’t know for sure if those methods exist, or…

Read More

RubyTapas Freebies November 20, 2020

RubyTapas 027: Macros and Modules

In this episode themed after a certain sci-fi television series with the initials “BSG”, we take a look at how to use dynamically generated modules to make metaprogrammed methods open for…

Read More

Technologies Videos November 27, 2012

Preventing Recursion in Ruby

A new post on the CodeBenders blog about how to prevent a method from accidentally falling into an infinite recursion.

Read More

Technologies February 1, 2012

Defining #method_missing and #respond_to? at the same time

I was reading Eloquent Ruby yesterday morning (buy a copy if you haven’t already), and it got me thinking about one of my “favorite” Ruby gotchas: defining #method_missing without a…

Read More

Technologies December 7, 2011

Checking the existence of a super method in Ruby

Ruby gives methods the ability to call up to the superclass definition of themselves. Or it may not be a parent class definition; it might call up to a definition…

Read More

How-to Technologies September 24, 2010

Determining Singleton Class Status in Ruby

Q: How do you tell if a given class is an ordinary class or a singleton class? A: Test whether the class is the first element in its own ancestor…

Read More

How-to Technologies September 23, 2010

Categories

Tags

activerecord architecture aws bdd books business c++ community conferences datamapper design Design Patterns elixir emacs emacs reboot errors exceptions featured fpoo http idioms javascript languages linux metaprogramming monkeypatching oo oop patterns practices rails Rake refactoring rspec Ruby Ruby on Rails RubyTapas SIGAVDI smalltalk software design talks TDD testing tools ubuntu

Archives

Support Me!

Become a Patron!

Recent Posts

  • SIGAVDI #91: Sweet Potato Pie Edition
  • SIGAVDI #90: Chicken soup edition
  • Why you shouldn’t inherit from Ruby’s core classes (and what to do instead)
  • Safely Call Superclass Methods from Ruby Modules
  • SIGAVDI #89: Apple Pie Funnel Cake Edition

RSS Podcast: The Cache Flush

  • 009 Sponsorship Specifications
  • 008 Reconstituted sophisticated opinions
  • 007 Silver duct tape factories
  • Persistence of Impostor Relationships
  • 005 Jessica Kerr on the true barriers to change
  • Home
  • Stuff I Do
    • RubyTapas Screencasts
    • Pairing
    • Consulting & Coaching
    • Speaking
    • Courses
    • Newsletters
    • Books
    • Podcasts
    • Patreon
  • Blog
  • About
    • About Avdi
    • Hire Me
    • Contact
  • Learn

Categories

  • #NOCODE
  • Announcements
  • Articles
  • Collaborations
  • Dev Journal
  • Event Log
  • Fragments
  • How-to
  • Humor
  • MOOM Course Updates
  • Resources
  • RubyTapas Freebies
  • Serializations
  • SIGAVDI
  • Skills
  • Technologies
  • The Cache Flush
  • Uncategorized
  • Videos
  • Github
  • Twitter
  • Facebook
  • LinkedIn
  • YouTube
  • Patreon

Meta

  • Log in
  • Entries feed
  • Comments feed
  • WordPress.org
© ShipRise LLC | Avdi Grimm, Code Cleric
  • Home
  • Stuff I Do
  • Blog
  • About
  • Learn