class RuneterraCards::EmptyInputError

This exception is raised if the deck code is an empty string.

Public Class Methods

new() click to toggle source

Returns a new instance of EmptyInputError with a helpful error message preloaded.

Calls superclass method
# File lib/runeterra_cards/errors.rb, line 22
def initialize
  super('The input was an empty string')
end