Parent

Class/Module Index [+]

Quicksearch

Modulgruppe

Schema Information

Table name: modulgruppen

id         :integer          not null, primary key
typ        :string(255)
phase      :integer
name       :string(255)
desc       :text
studium_id :integer
created_at :datetime         not null
updated_at :datetime         not null

Public Instance Methods

long_name() click to toggle source
# File app/models/modulgruppe.rb, line 29
def long_name
  name + "(" + self.studium_name + ")"
end
studium_name() click to toggle source
# File app/models/modulgruppe.rb, line 32
def studium_name
  self.studium.nil? ? "Kein Studium vorhanden" : self.studium.name
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.