Class: WideEvent::Kamal::DeployEditor::Result

Inherits:
Struct
  • Object
show all
Defined in:
lib/wide_event/kamal/deploy_editor.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#changedObject

Returns the value of attribute changed

Returns:

  • (Object)

    the current value of changed



46
47
48
# File 'lib/wide_event/kamal/deploy_editor.rb', line 46

def changed
  @changed
end

#conflictsObject

Returns the value of attribute conflicts

Returns:

  • (Object)

    the current value of conflicts



46
47
48
# File 'lib/wide_event/kamal/deploy_editor.rb', line 46

def conflicts
  @conflicts
end

#contentObject

Returns the value of attribute content

Returns:

  • (Object)

    the current value of content



46
47
48
# File 'lib/wide_event/kamal/deploy_editor.rb', line 46

def content
  @content
end

#snippetObject

Returns the value of attribute snippet

Returns:

  • (Object)

    the current value of snippet



46
47
48
# File 'lib/wide_event/kamal/deploy_editor.rb', line 46

def snippet
  @snippet
end

Instance Method Details

#changed?Boolean

Returns:

  • (Boolean)


47
48
49
# File 'lib/wide_event/kamal/deploy_editor.rb', line 47

def changed?
  !!changed
end