Class: Rails::Hyperdrive::ThreeWayMerge::Outcome

Inherits:
Struct
  • Object
show all
Defined in:
lib/rails/hyperdrive/three_way_merge.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#bodyObject

Returns the value of attribute body

Returns:

  • (Object)

    the current value of body



10
11
12
# File 'lib/rails/hyperdrive/three_way_merge.rb', line 10

def body
  @body
end

#statusObject

Returns the value of attribute status

Returns:

  • (Object)

    the current value of status



10
11
12
# File 'lib/rails/hyperdrive/three_way_merge.rb', line 10

def status
  @status
end

Instance Method Details

#clean?Boolean

Returns:

  • (Boolean)


11
12
13
# File 'lib/rails/hyperdrive/three_way_merge.rb', line 11

def clean?
  status == :clean
end