Module: Merb::Mixins::WebController
- Included in:
- PartController
- Defined in:
- lib/merb-parts/mixins/web_controller.rb
Defined Under Namespace
Modules: ClassMethods, InstanceMethods
Class Method Summary collapse
Class Method Details
.included(base) ⇒ Object
6 7 8 9 10 11 12 |
# File 'lib/merb-parts/mixins/web_controller.rb', line 6 def self.included(base) [:content_type, :web_controller].each do |attr| base.send(:attr_accessor, attr) end base.send(:include, InstanceMethods) base.send(:extend, ClassMethods) end |