Sha256: 24b8756f5d014b17ae3fb00ac7aeed6eb9a8f1b9bec1513868b48869387abe40

Contents?: true

Size: 314 Bytes

Versions: 2

Compression:

Stored size: 314 Bytes

Contents

module Rack
  #
  # BlogEngine Module used for namespacing
  # Used in all /lib files
  #
  # @author [benny]
  #
  module Blogengine
    class << self
      attr_accessor :documents, :config

      def root
        ::File.dirname(::File.dirname(::File.expand_path('../..', __FILE__)))
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
rack-blogengine-0.2.5 lib/rack/blogengine/methods.rb
rack-blogengine-0.2.4 lib/rack/blogengine/methods.rb