Class: Precondition

Inherits:
ActiveRecord::Base
  • Object
show all
Defined in:
lib/branston/app/models/precondition.rb

Overview

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/>.

Instance Method Summary collapse

Instance Method Details

#to_sObject



25
26
27
# File 'lib/branston/app/models/precondition.rb', line 25

def to_s
  read_attribute(:description)
end