Class: Kender::PBDuplicates
- Inherits:
-
Command
- Object
- Command
- Kender::PBDuplicates
show all
- Defined in:
- lib/kender/commands/pb_duplicates.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
3
4
5
|
# File 'lib/kender/commands/pb_duplicates.rb', line 3
def available?
Rake::Task.task_defined?('pb_numbers:list:duplicates')
end
|
#command ⇒ Object
7
8
9
|
# File 'lib/kender/commands/pb_duplicates.rb', line 7
def command
'bundle exec rake pb_numbers:list:duplicates'
end
|