Class: Kender::Rdlint
Instance Method Summary collapse
Methods inherited from Command
all, all_names, commands, #execute, inherited, #name, #run
Instance Method Details
#available? ⇒ Boolean
4 5 6 |
# File 'lib/kender/commands/rdlint.rb', line 4 def available? in_gemfile?('crichton') && Dir.exists?(File.join(Dir.pwd, 'api_descriptors')) end |
#command ⇒ Object
8 9 10 |
# File 'lib/kender/commands/rdlint.rb', line 8 def command 'bundle exec rdlint -as' end |