Class: Label::LabelStruct

Inherits:
Struct
  • Object
show all
Defined in:
app/models/label.rb

Overview

Represents a “No Label” state used for filtering Issues and Merge Requests that have no label assigned.

Instance Attribute Summary collapse

Instance Attribute Details

#nameObject

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name


21
22
23
# File 'app/models/label.rb', line 21

def name
  @name
end

#titleObject

Returns the value of attribute title

Returns:

  • (Object)

    the current value of title


21
22
23
# File 'app/models/label.rb', line 21

def title
  @title
end