Class: RailsCTO::Installer::Report

Inherits:
Struct
  • Object
show all
Defined in:
lib/rails_cto/installer.rb

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#createdObject

Returns the value of attribute created

Returns:

  • (Object)

    the current value of created



11
12
13
# File 'lib/rails_cto/installer.rb', line 11

def created
  @created
end

#errorsObject

Returns the value of attribute errors

Returns:

  • (Object)

    the current value of errors



11
12
13
# File 'lib/rails_cto/installer.rb', line 11

def errors
  @errors
end

#patchedObject

Returns the value of attribute patched

Returns:

  • (Object)

    the current value of patched



11
12
13
# File 'lib/rails_cto/installer.rb', line 11

def patched
  @patched
end

#skippedObject

Returns the value of attribute skipped

Returns:

  • (Object)

    the current value of skipped



11
12
13
# File 'lib/rails_cto/installer.rb', line 11

def skipped
  @skipped
end

Class Method Details

.emptyObject



12
13
14
# File 'lib/rails_cto/installer.rb', line 12

def self.empty
  new([], [], [], [])
end

Instance Method Details

#ok?Boolean

Returns:

  • (Boolean)


16
17
18
# File 'lib/rails_cto/installer.rb', line 16

def ok?
  errors.empty?
end