Module: Jenkins::Model::InstanceDisplayName
- Included in:
- InstanceMethods
- Defined in:
- lib/jenkins/model.rb
Instance Method Summary collapse
-
#display_name ⇒ String
Get the display name of this Model.
Instance Method Details
#display_name ⇒ String
Get the display name of this Model. This value will be used as a default whenever this model needs to be shown in the UI. If no display name has been set, then it will use the Model’s class name.
12 13 14 |
# File 'lib/jenkins/model.rb', line 12 def display_name self.class.display_name end |