module Urist::UberWaffel
Public Class Methods
included(base)
click to toggle source
adds some metaprogramming magic:
-
removes the need for :attr_accessor for @links in every scenario since it's an inheritable attribute (with default value already set)
# File lib/urist/uber_waffel.rb, line 6 def self.included(base) base.extend(ClassMethods) end