class Clausewitz::Spelling::MissingLangResult
Public Class Methods
new(lang)
click to toggle source
# File lib/clausewitz/spelling/results.rb, line 88 def initialize(lang) @lang = lang end
Public Instance Methods
failed?()
click to toggle source
# File lib/clausewitz/spelling/results.rb, line 100 def failed? true end
failures()
click to toggle source
# File lib/clausewitz/spelling/results.rb, line 104 def failures [] end
ignored()
click to toggle source
# File lib/clausewitz/spelling/results.rb, line 96 def ignored [] end
ignored?()
click to toggle source
# File lib/clausewitz/spelling/results.rb, line 92 def ignored? false end
size()
click to toggle source
# File lib/clausewitz/spelling/results.rb, line 108 def size 0 end
to_s()
click to toggle source
# File lib/clausewitz/spelling/results.rb, line 112 def to_s to_str end
to_str(indent = 0)
click to toggle source
# File lib/clausewitz/spelling/results.rb, line 116 def to_str(indent = 0) firstspacer = ' ' * indent "#{firstspacer}#{@lang} failed - missing #{@lang} dictionaries!".red end