class Clausewitz::Spelling::IgnoredEntryResult

Public Class Methods

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

Public Instance Methods

failed?() click to toggle source
# File lib/clausewitz/spelling/results.rb, line 219
def failed?
  false
end
ignored?() click to toggle source
# File lib/clausewitz/spelling/results.rb, line 215
def ignored?
  true
end
to_s() click to toggle source
# File lib/clausewitz/spelling/results.rb, line 223
def to_s
  to_str
end
to_str(indent = 0) click to toggle source
# File lib/clausewitz/spelling/results.rb, line 227
def to_str(indent = 0)
  firstspacer = ' ' * indent
  "#{firstspacer}#{@key} ignored".yellow
end