Class: Mxrb::MigrationResult

Inherits:
Data
  • Object
show all
Defined in:
lib/mxrb/project_lifecycle.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#currentObject (readonly)

Returns the value of attribute current

Returns:

  • (Object)

    the current value of current



7
8
9
# File 'lib/mxrb/project_lifecycle.rb', line 7

def current
  @current
end

#diffObject (readonly)

Returns the value of attribute diff

Returns:

  • (Object)

    the current value of diff



7
8
9
# File 'lib/mxrb/project_lifecycle.rb', line 7

def diff
  @diff
end

#generatedObject (readonly)

Returns the value of attribute generated

Returns:

  • (Object)

    the current value of generated



7
8
9
# File 'lib/mxrb/project_lifecycle.rb', line 7

def generated
  @generated
end

Instance Method Details

#clean?Boolean

Returns:

  • (Boolean)


8
# File 'lib/mxrb/project_lifecycle.rb', line 8

def clean? = diff.added.empty? && diff.removed.empty? && diff.changed.empty?