class Exercise::CourseContentRenderingError
Public Class Methods
new(files)
click to toggle source
Calls superclass method
# File lib/commands/exercise/command.rb, line 11 def initialize(files) error = <<~ERROR Unable to render: - #{files.collect { |file| File.expand_path(file) }.join("\n- ")}" ERROR super error end
Public Instance Methods
==(other)
click to toggle source
# File lib/commands/exercise/command.rb, line 20 def ==(other) other.is_a?(CourseContentRenderingError) && message == other.message end