Class: Specify::Model::PreparationType

Inherits:
Object
  • Object
show all
Includes:
Createable, Updateable
Defined in:
lib/specify/models/preparation_type.rb

Overview

PreparationTypes, are categopries of Specify::Model::Preparation. A PreparationType providess a controlled vocabulary for available types of preparations, where the element in the controlled vocabulary is the #name.

Instance Method Summary collapse

Methods included from Updateable

#before_update

Methods included from Createable

#before_create

Instance Method Details

#nameObject

Returns a String with the name of self (a short name that is an element of a controlled vocabulary).



25
26
27
# File 'lib/specify/models/preparation_type.rb', line 25

def name
  self[:Name]
end