Class: Renalware::Accesses::Type

Inherits:
ApplicationRecord show all
Defined in:
app/models/renalware/accesses/type.rb

Instance Method Summary collapse

Instance Method Details

#long_nameObject



15
16
17
18
# File 'app/models/renalware/accesses/type.rb', line 15

def long_name
  abbrev = abbreviation && " (#{abbreviation})"
  "#{name}#{abbrev}"
end