101 102 103 104 105 106 107
# File 'lib/brief/model/definition.rb', line 101 def template(body = nil, _options = {}) if body.is_a?(Hash) options = body elsif body.is_a?(String) self.template_body = body end end