Module: Publication::Spellchecker
Instance Method Summary collapse
Instance Method Details
#check ⇒ Object
5 6 7 8 |
# File 'lib/publication/spellchecker.rb', line 5 def check files = Dir['./**/*'].map { |f| f if File.file?(f) } puts `bundle exec mdspell #{files.join(' ')} #{"-c .mdspell.config" if File.exists?('.mdspell.config')}` end |