Sha256: 4a5b3389afe981a479ec32341fa9b7362172dae21d097d3d90b4860f9494f953

Contents?: true

Size: 539 Bytes

Versions: 1

Compression:

Stored size: 539 Bytes

Contents

# encoding: utf-8

module KramdownService

  MAJOR = 0
  MINOR = 2
  PATCH = 0
  VERSION = [MAJOR,MINOR,PATCH].join('.')

  def self.version
    VERSION
  end

  def self.banner
    "kramdown-service/#{VERSION} on Ruby #{RUBY_VERSION} (#{RUBY_RELEASE_DATE}) [#{RUBY_PLATFORM}] " +
    "using kramdown/#{Kramdown::VERSION} " +
    "on Sinatra/#{Sinatra::VERSION} (#{ENV['RACK_ENV']})"
  end

  def self.root
    "#{File.expand_path( File.dirname(File.dirname(File.dirname(File.dirname(__FILE__)))) )}"
  end

end  # module KramdownService

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
kramdown-service-0.2.0 lib/kramdown/service/version.rb