Sha256: 5c8090cf15e7ab77fc0c8eb42454418b4549d4ce212a834be9e5d42d5e2984aa

Contents?: true

Size: 332 Bytes

Versions: 18

Compression:

Stored size: 332 Bytes

Contents

module Ruboty
  module Ragoon
    module Config
      TEMPLATE_DIRS = [
        File.join(Dir.pwd, 'templates'),
        File.join(File.dirname(File.expand_path(__FILE__)), '..', '..', '..', 'templates'),
      ]

      def ragoon_config(key)
        ::Ruboty::Ragoon::Config.const_get(key.to_s.upcase)
      end
    end
  end
end

Version data entries

18 entries across 18 versions & 1 rubygems

Version Path
ruboty-ragoon-1.1.0 lib/ruboty/ragoon/config.rb
ruboty-ragoon-1.0.0 lib/ruboty/ragoon/config.rb
ruboty-ragoon-0.8.1 lib/ruboty/ragoon/config.rb
ruboty-ragoon-0.8.0 lib/ruboty/ragoon/config.rb
ruboty-ragoon-0.7.0 lib/ruboty/ragoon/config.rb
ruboty-ragoon-0.6.1 lib/ruboty/ragoon/config.rb
ruboty-ragoon-0.6.0 lib/ruboty/ragoon/config.rb
ruboty-ragoon-0.5.2 lib/ruboty/ragoon/config.rb
ruboty-ragoon-0.5.1 lib/ruboty/ragoon/config.rb
ruboty-ragoon-0.5.0 lib/ruboty/ragoon/config.rb
ruboty-ragoon-0.4.0 lib/ruboty/ragoon/config.rb
ruboty-ragoon-0.3.1 lib/ruboty/ragoon/config.rb
ruboty-ragoon-0.3.0 lib/ruboty/ragoon/config.rb
ruboty-ragoon-0.2.1 lib/ruboty/ragoon/config.rb
ruboty-ragoon-0.2.0 lib/ruboty/ragoon/config.rb
ruboty-ragoon-0.1.2 lib/ruboty/ragoon/config.rb
ruboty-ragoon-0.1.1 lib/ruboty/ragoon/config.rb
ruboty-ragoon-0.1.0 lib/ruboty/ragoon/config.rb