Sha256: 5ef84ea9940a6b622f5cf6a0413a6055fd8aba9b83b8be2de8aadf8da85c0617

Contents?: true

Size: 544 Bytes

Versions: 1

Compression:

Stored size: 544 Bytes

Contents

# encoding: utf-8

module SlideshowService

  MAJOR = 0
  MINOR = 1
  PATCH = 0
  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.1.0 lib/slideshow/service/version.rb