Method: ForemanPatch::TicketField#path=
- Defined in:
- app/models/foreman_patch/ticket_field.rb
#path=(value) ⇒ Object
16 17 18 19 20 |
# File 'app/models/foreman_patch/ticket_field.rb', line 16 def path=(value) return unless value using_default = value.tr("\r", "") == array2path(['name', 'cycle']) self[:path] = using_default ? nil : value end |