Class: HostParameter

Inherits:
Parameter
  • Object
show all
Defined in:
app/models/host_parameter.rb

Constant Summary

Constants inherited from Parameter

Parameter::PRIORITY

Instance Attribute Summary

Attributes inherited from Parameter

#nested

Instance Method Summary collapse

Methods inherited from Parameter

reassign_priorities

Methods included from Authorization

#enforce_create_permissions, #enforce_destroy_permissions, #enforce_edit_permissions, included, #permission_failed?

Instance Method Details

#to_sObject


6
7
8
# File 'app/models/host_parameter.rb', line 6

def to_s
  "#{host.id ? host.name : "unassociated"}: #{name} = #{value}"
end