Module: RenderSuper
- Defined in:
- lib/render_super.rb,
lib/render_super/version.rb
Defined Under Namespace
Modules: ClassMethods, InstanceMethods
Constant Summary collapse
- VERSION =
"0.1.0"
Class Method Summary collapse
-
.included(base) ⇒ Object
:nodoc.
Class Method Details
.included(base) ⇒ Object
:nodoc
22 23 24 25 26 27 28 29 30 |
# File 'lib/render_super.rb', line 22 def self.included(base) # :nodoc base.extend(ClassMethods) base.send(:include, InstanceMethods) # Same as typing in the class base.class_eval do alias_method_chain :render, :super end end |