Class: Kender::I18nVerify
- Defined in:
- lib/kender/commands/i18n_tasks.rb
Instance Attribute Summary
Attributes inherited from Command
Instance Method Summary collapse
- #available? ⇒ Boolean
-
#command ⇒ Object
The commands missing and unused produce informational reports only.
Methods inherited from Command
all, all_names, all_success?, commands, #execute, inherited, #name, #run
Instance Method Details
#available? ⇒ Boolean
3 4 5 |
# File 'lib/kender/commands/i18n_tasks.rb', line 3 def available? Gem::Specification::find_all_by_name('i18n-tasks').any? end |
#command ⇒ Object
The commands missing and unused produce informational reports only.
8 9 10 |
# File 'lib/kender/commands/i18n_tasks.rb', line 8 def command 'i18n-tasks missing; i18n-tasks unused' end |