Class: Kender::I18nVerify

Inherits:
Command
  • Object
show all
Defined in:
lib/kender/commands/i18n_tasks.rb

Instance Attribute Summary

Attributes inherited from Command

#success

Instance Method Summary collapse

Methods inherited from Command

all, all_names, all_success?, commands, #execute, inherited, #name, #run

Instance Method Details

#available?Boolean

Returns:

  • (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

#commandObject

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