Class: Perspectives::Base
- Inherits:
-
Object
- Object
- Perspectives::Base
- Includes:
- Caching, Context, Memoization, Params, Properties, Rendering, Templating
- Defined in:
- lib/perspectives/base.rb
Direct Known Subclasses
Constant Summary
Constants included from Properties
Class Method Summary collapse
Methods included from Caching
included, #render_html, #to_json
Methods included from Rendering
#as_json, #render, #render_html, #to_html, #to_s
Methods included from Context
Methods included from Params
Methods included from Memoization
Methods included from Properties
Methods included from Templating
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class Perspectives::Context
Class Method Details
.inherited(base) ⇒ Object
21 22 23 |
# File 'lib/perspectives/base.rb', line 21 def inherited(base) base.__send__(:filename=, caller.first[/^(.*?.rb):\d/, 1]) end |