Module: Waves::Renderers::Markaby
- Defined in:
- lib/waves/layers/renderers/markaby.rb
Defined Under Namespace
Modules: ViewMethods
Constant Summary collapse
- Extension =
:mab
Class Method Summary collapse
-
.included(app) ⇒ Object
extend Waves::Renderers::Mixin.
Class Method Details
.included(app) ⇒ Object
extend Waves::Renderers::Mixin
11 12 13 14 15 16 17 18 19 20 21 |
# File 'lib/waves/layers/renderers/markaby.rb', line 11 def self.included( app ) require 'markaby' ::Markaby::Builder.set( :indent, 2 ) Waves::Views.renderers << self # Waves::Views::Base.send(:include, self::ViewMethods) app.auto_eval :Views do auto_eval :Default do include ViewMethods end end end |