class Clausewitz::Spelling::NullEntryResult

Public Class Methods

new(key) click to toggle source
# File lib/clausewitz/spelling/results.rb, line 188
def initialize(key)
  @key          = key
end

Public Instance Methods

failed?() click to toggle source
# File lib/clausewitz/spelling/results.rb, line 196
def failed?
  true
end
ignored?() click to toggle source
# File lib/clausewitz/spelling/results.rb, line 192
def ignored?
  false
end
to_s() click to toggle source
# File lib/clausewitz/spelling/results.rb, line 200
def to_s
  to_str
end
to_str(indent = 0) click to toggle source
# File lib/clausewitz/spelling/results.rb, line 204
def to_str(indent = 0)
  spacer = ' ' * indent
  "#{spacer}#{@key} is missing!".red
end