Module: FogExtensions::Ovirt::Template
- Defined in:
- app/models/concerns/fog_extensions/ovirt/template.rb
Instance Method Summary collapse
Instance Method Details
#full_name ⇒ Object
4 5 6 7 |
# File 'app/models/concerns/fog_extensions/ovirt/template.rb', line 4 def full_name version = full_version.present? ? " (#{full_version})" : "" "#{name}#{version}" end |
#full_version ⇒ Object
9 10 11 |
# File 'app/models/concerns/fog_extensions/ovirt/template.rb', line 9 def full_version version.version_name.presence || version.version_number end |