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

require 'singleton'
require 'yaml'

require 'rubikon/application/class_methods'
require 'rubikon/application/dsl_methods'
require 'rubikon/application/instance_methods'

module Rubikon

  module Application

    # The main class of Rubikon. Let your own application class inherit from
    # this one.
    #
    # @author Sebastian Staudt
    # @since 0.2.0
    class Base

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

      include Rubikon::Application::DSLMethods
      include Rubikon::Application::InstanceMethods
      include Singleton

    end

  end

end

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

require 'singleton'
require 'yaml'

require 'rubikon/application/class_methods'
require 'rubikon/application/dsl_methods'
require 'rubikon/application/instance_methods'

module Rubikon

  module Application

    # The main class of Rubikon. Let your own application class inherit from
    # this one.
    #
    # @author Sebastian Staudt
    # @since 0.2.0
    class Base

      extend Rubikon::Application::ClassMethods

      include Rubikon::Application::DSLMethods
      include Rubikon::Application::InstanceMethods
      include Singleton

    end

  end

end

Use a more direct syntax to include ClassMethods
Use a more direct syntax to include ClassMethods
