Method: Brief::Model::ClassMethods#template_content
- Defined in:
- lib/brief/model.rb
#template_content ⇒ Object
194 195 196 197 198 199 200 |
# File 'lib/brief/model.rb', line 194 def template_content if template_path && template_path.exist? return template_path.read.to_s end definition.template_body.to_s end |