Sha256: b36f380db4d24ef5be842fd08cc48d85085bf6d1cbb9fc1564f26f50fe6f6831

Contents?: true

Size: 930 Bytes

Versions: 5

Compression:

Stored size: 930 Bytes

Contents

# -*- encoding: utf-8 -*-
#
# Author:: Fletcher Nichol (<fnichol@nichol.ca>)
#
# Copyright (C) 2013, Fletcher Nichol
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#    http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

require 'pathname'

require 'busser/version'

module Busser

  # Returns the root path of the Busser gem source code.
  #
  # @return [Pathname] root path of gem
  def self.source_root
    @source_root ||= Pathname.new(File.expand_path('../../', __FILE__))
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
busser-0.4.1 lib/busser.rb
busser-0.4.0 lib/busser.rb
busser-0.3.2 lib/busser.rb
busser-0.3.1 lib/busser.rb
busser-0.3.0 lib/busser.rb