Sha256: 4bc8a13dfb361e88b930cb75a32f72b62e8b9b94aedbbc0b4a1f1af738ccaa05

Contents?: true

Size: 358 Bytes

Versions: 1

Compression:

Stored size: 358 Bytes

Contents

namespace :config do
  desc "Show configuration values; accepts a parameter: [nil|platform|<plugin-name>|all]"
  task :show, :name, :needs => :environment do |t, args|
    name = args.name.nil? ? :all : args.name.to_sym
    puts "\nAdhearsion.config do |config|\n\n"
    puts Adhearsion.config.description name, :show_values => true
    puts "end"
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
adhearsion-2.0.0.alpha2 lib/adhearsion/tasks/configuration.rb