Sha256: 577f85d239595fa91bf18acdf22c3f6a4b3189dc09774c30a0bf5c90e853e58e
Contents?: true
Size: 434 Bytes
Versions: 3
Compression:
Stored size: 434 Bytes
Contents
desc "List the configured plugins" task :plugins => :environment do |t,args| if Adhearsion::Plugin.subclasses.length > 0 puts "You have #{Adhearsion::Plugin.subclasses.length} plugin(s) in your Adhearsion application:\n" Adhearsion::Plugin.subclasses.each do |plugin| puts "* #{plugin.plugin_name}: #{plugin.name}" end else puts "There is no Adhearsion plugin used in your application" end puts "\n" end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
adhearsion-2.0.0.beta1 | lib/adhearsion/tasks/plugins.rb |
adhearsion-2.0.0.alpha3 | lib/adhearsion/tasks/plugins.rb |
adhearsion-2.0.0.alpha2 | lib/adhearsion/tasks/plugins.rb |