ApiBootstraper/Rails-server

View on GitHub
lib/api_bootstraper/info.rb

Summary

Maintainability
A
0 mins
Test Coverage
module ApiBootstraper
  module VERSION
    MAJOR = 0
    MINOR = 1
    TINY  = 0

    ARRAY  = [MAJOR, MINOR, TINY].compact.freeze
    STRING = ARRAY.join('.').freeze

    def self.to_a; ARRAY  end
    def self.to_s; STRING end
  end

  module Info
    class << self
      def name; 'ApiBootstraper' end
      def url; 'http://apibootstraper.github.com/' end
      def version; "#{ApiBootstraper::VERSION}" end
    end
  end
end