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", __FILE__)
- CUSTOM_SPELL_CONFIG_FILE =
".spell.yml".freeze
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
40 41 42 43 44 45 46 47 |
# File 'lib/tasks/spellcheck_task.rb', line 40 def initialize namespace :check do desc "Run spell checker (by default for *.md and *.html files)" task :spelling do run_task end end end |