Sha256: 1f15b8bbb929909279909e7a8b06b0ee41a5ce65fe5dd7781091b8610bf795ac

Contents?: true

Size: 543 Bytes

Versions: 1

Compression:

Stored size: 543 Bytes

Contents

# encoding: utf-8

module SlideshowService

  MAJOR = 0
  MINOR = 3
  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.3.0 lib/slideshow/service/version.rb