Class: Yast::SpellcheckTask
- Inherits:
-
Rake::TaskLib
- Object
- Rake::TaskLib
- Yast::SpellcheckTask
- Defined in:
- lib/tasks/spellcheck_task.rb
Overview
Defines a spellcheck rake task
Constant Summary collapse
- GLOBAL_SPELL_CONFIG_FILE =
File.("spell.yml", __dir__)
- CUSTOM_SPELL_CONFIG_FILE =
".spell.yml"
Instance Method Summary collapse
-
#initialize ⇒ SpellcheckTask
constructor
define the Rake task in the constructor.
Constructor Details
#initialize ⇒ SpellcheckTask
define the Rake task in the constructor
42 43 44 45 46 47 48 49 |
# File 'lib/tasks/spellcheck_task.rb', line 42 def initialize namespace :check do desc "Run spell checker (by default for *.md and *.html files)" task :spelling do run_task end end end |