Module: Mumuki::Domain::Status::Submission::Skipped

Extended by:
Mumuki::Domain::Status::Submission
Defined in:
lib/mumuki/domain/status/submission/skipped.rb

Constant Summary

Constants included from Mumuki::Domain::Status::Submission

STATUSES

Class Method Summary collapse

Methods included from Mumuki::Domain::Status::Submission

completed?, exp_given, group, iconize, improved_by?, should_retry?, solved?

Methods included from Mumuki::Domain::Status

#==, #as_json, #dup, #to_i, #to_s, #to_sym

Class Method Details

.exp_givenObject



12
13
14
# File 'lib/mumuki/domain/status/submission/skipped.rb', line 12

def self.exp_given
  100
end

.iconizeObject



8
9
10
# File 'lib/mumuki/domain/status/submission/skipped.rb', line 8

def self.iconize
  {class: :success, type: 'check-circle'}
end

.skipped?Boolean

Returns:

  • (Boolean)


4
5
6
# File 'lib/mumuki/domain/status/submission/skipped.rb', line 4

def self.skipped?
  true
end