Sha256: 44dbb1543f7285c0508ac3817d44aecf58c42f60d49ee24a7032fed5c210b6cf

Contents?: true

Size: 305 Bytes

Versions: 2

Compression:

Stored size: 305 Bytes

Contents

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

      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.3 lib/rack/blogengine/methods.rb
rack-blogengine-0.2.2 lib/rack/blogengine/methods.rb