Sha256: 495e28b03be73670697455cf129144edd077f13a7eec449115de4bfe6d37011b

Contents?: true

Size: 830 Bytes

Versions: 2

Compression:

Stored size: 830 Bytes

Contents

# This code is free software; you can redistribute it and/or modify it under the
# terms of the new BSD License.
#
# Copyright (c) 2009, Sebastian Staudt

require 'singleton'
require 'yaml'

require 'rubikon/action'
require 'rubikon/application/class_methods'
require 'rubikon/application/instance_methods'
require 'rubikon/exceptions'

module Rubikon

  version = YAML.load_file(File.join(File.dirname(__FILE__), '..', '..', '..', 'VERSION.yml'))
  VERSION = "#{version[:major]}.#{version[:minor]}.#{version[:patch]}"

  module Application

    # The main class of Rubikon. Let your own application class inherit from this
    # one.
    class Base

      class << self
        include Rubikon::Application::ClassMethods
      end

      include Rubikon::Application::InstanceMethods
      include Singleton

    end

  end

end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
rubikon-0.2.1 lib/rubikon/application/base.rb
rubikon-0.2.0 lib/rubikon/application/base.rb