Module: Ext::View
- Extended by:
- Equipment
- Defined in:
- lib/ext/view.rb
Overview
Generalized View extension.
Dependencies
-
Equipment
-
AppUtil
Defined Under Namespace
Modules: Base, CClassMethods
Constant Summary
Constants included from Equipment
Equipment::DATA_PATH, Equipment::LIB_PATH
Instance Attribute Summary
Attributes included from Equipment
Class Method Summary collapse
Methods included from Equipment
dependencies, depends_on, equip, equip_all, global_extensions, included
Class Method Details
.equip(app) ⇒ Object
17 18 19 20 21 22 23 24 25 26 |
# File 'lib/ext/view.rb', line 17 def self.equip(app) super app.module_eval <<-SOME_VIEW # Some kind of view data proxy for template-based renderers class V def bind(m,*a,&b); binding; end def R(klass, *args); self / super; end end SOME_VIEW end |