Sha256: c70a8d21732a216f766b774c72b0a36cebbd6b3c22087347e7b36cac099f8d60

Contents?: true

Size: 369 Bytes

Versions: 3

Compression:

Stored size: 369 Bytes

Contents

# encoding: utf-8

namespace :config do
  desc "Show configuration values; accepts a parameter: [nil|core|<plugin-name>|all]"
  task :show, [:name] => [: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

3 entries across 3 versions & 1 rubygems

Version Path
adhearsion-3.0.0.rc1 lib/adhearsion/tasks/configuration.rb
adhearsion-3.0.0.beta2 lib/adhearsion/tasks/configuration.rb
adhearsion-3.0.0.beta1 lib/adhearsion/tasks/configuration.rb