Sha256: e9c6bc86bc870431ff8cfb1d36e61984923da394f188549e9f937bf305215e1a

Contents?: true

Size: 485 Bytes

Versions: 1

Compression:

Stored size: 485 Bytes

Contents

# encoding: utf-8

module MarkdownService

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

  def self.version
    VERSION
  end

  def self.banner
    "markdown-service/#{VERSION} on Ruby #{RUBY_VERSION} (#{RUBY_RELEASE_DATE}) [#{RUBY_PLATFORM}] 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 MarkdownService

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
markdown-service-1.2.0 lib/markdown/service/version.rb