test/hobosupport/module.rdoctest in hobo_support-1.3.0.pre19 vs test/hobosupport/module.rdoctest in hobo_support-1.3.0.pre20
- old
+ new
@@ -19,11 +19,11 @@
klass.metaclass_eval do
def name_with_shouting; name_without_shouting.upcase; end
alias_method_chain :name, :shouting
end
end
- end
+ end
module M1
def self.included(base)
included_in_class_callbacks(base)
end
@@ -74,10 +74,10 @@
>>
module M
def self.included(base)
base.send(:extend, ClassMethods)
- end
+ end
module ClassMethods
def foo; 123; end
end
end