Sha256: 17bce111ddad6e460453b83b505464a361802b8949f70e4dabdcf5ec3bad5fda
Contents?: true
Size: 532 Bytes
Versions: 1
Compression:
Stored size: 532 Bytes
Contents
# encoding: utf-8 require 'active_model' module Templatable class DslModel include ActiveModel::Model # output_fullpath attr_accessor :output_fullpath validates :output_fullpath, :presence => true # class_name attr_accessor :class_name validates :class_name, :presence => true # template attr_accessor :template validates :template, :presence => true # placeholders attr_accessor :placeholders validates :placeholders, :presence => true end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
templatable-0.0.1 | lib/templatable_dsl_model.rb |