Sha256: ee2721b44b47e5d14cc7f84a87a21a5ddecd0672c4cbf3d2bef9eb97199983f9

Contents?: true

Size: 269 Bytes

Versions: 10

Compression:

Stored size: 269 Bytes

Contents

module CanTango::Loader
  class Yaml
    module ClassMethods
      protected

      def config_file name
        File.join(config_path, "#{name}.yml") if rails?
      end

      def config_path
        CanTango.config.permissions.config_path
      end
    end
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
cantango-config-0.2.1 lib/cantango/config_ext/loader/yaml.rb
cantango-config-0.2.0 lib/cantango/config_ext/loader/yaml.rb
cantango-config-0.1.9.2 lib/cantango/config_ext/loader/yaml.rb
cantango-config-0.1.8.1 lib/cantango/config_ext/loader/yaml.rb
cantango-config-0.1.8 lib/cantango/config_ext/loader/yaml.rb
cantango-config-0.1.7 lib/cantango/config_ext/loader/yaml.rb
cantango-config-0.1.6 lib/cantango/config_ext/loader/yaml.rb
cantango-config-0.1.5 lib/cantango/config_ext/loader/yaml.rb
cantango-config-0.1.4 lib/cantango/config_ext/loader/yaml.rb
cantango-config-0.1.3 lib/cantango/config_ext/loader/yaml.rb