Sha256: d997df6aae9f95ec3697c0fc765de91099afaf3b76feb3bfb9880aedbea98df7
Contents?: true
Size: 834 Bytes
Versions: 14
Compression:
Stored size: 834 Bytes
Contents
# This file is part of Branston. # # Branston is free software: you can redistribute it and/or modify # it under the terms of the GNU Affero General Public License as published by # the Free Software Foundation. # # Branston is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License # along with Branston. If not, see <http://www.gnu.org/licenses/>. class Precondition < ActiveRecord::Base # Assocations # belongs_to :scenario # Validations # validates_presence_of :description def to_s read_attribute(:description) end end
Version data entries
14 entries across 14 versions & 1 rubygems