Sha256: 5263d3255986de428b8c8727a2a058901f28546ba88fd6befcc0fa8d579b5065

Contents?: true

Size: 558 Bytes

Versions: 3

Compression:

Stored size: 558 Bytes

Contents

$: << File.expand_path(File.join(File.dirname(__FILE__), "../lib"))

require 'yaml'

module RFormat

  class << self
    def root_dir
      File.expand_path('../', File.dirname(__FILE__))
    end

    def lib_dir
      File.join(root_dir, 'lib')
    end

    def format_file
      File.join(lib_dir, 'rformat', 'formatters.yml')
    end

    def rformat_env_file
      File.join(ENV['HOME'], ".rformat")
    end
  end

  Version = File.read(File.join(self.root_dir, 'VERSION'))
  Copyright = File.readlines(File.join(self.root_dir, 'LICENSE.txt')).first

end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
rformat-0.1.2 lib/rformat.rb
rformat-0.1.1 lib/rformat.rb
rformat-0.1.0 lib/rformat.rb