Sha256: caefe6aaa33db18674ecf9500c35b740e806ce4278141742ad781365d3b88725

Contents?: true

Size: 544 Bytes

Versions: 1

Compression:

Stored size: 544 Bytes

Contents

# encoding: utf-8

module SlideshowService

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

  def self.version
    VERSION
  end

  def self.banner
    "slideshow-service/#{VERSION} on Ruby #{RUBY_VERSION} (#{RUBY_RELEASE_DATE}) [#{RUBY_PLATFORM}] " +
    "using slideshow/#{Slideshow::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 SlideshowService

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
slideshow-service-0.0.1 lib/slideshow/service/version.rb