Class: Manuscript::Template
- Inherits:
-
ActiveRecord::Base
- Object
- ActiveRecord::Base
- Manuscript::Template
- Defined in:
- lib/manuscript/template.rb
Direct Known Subclasses
Instance Method Summary collapse
Instance Method Details
#layout? ⇒ Boolean
11 12 13 |
# File 'lib/manuscript/template.rb', line 11 def layout? self.kind_of? Manuscript::LayoutTemplate end |
#render(options) ⇒ Object
7 8 9 |
# File 'lib/manuscript/template.rb', line 7 def render() Liquid::Template.parse(code).render() end |