Use require_relative

This commit is contained in:
Joe Block
2016-04-16 13:08:11 -07:00
parent 962c47fba2
commit d37158b82b
3 changed files with 3 additions and 21 deletions

View File

@@ -6,14 +6,8 @@
#
# License: Apache 2.0
def push_loadpath
$: << File.expand_path(File.dirname(caller.first))
end
push_loadpath
require 'pathname'
require 'bbhelpers'
require_relative 'bbhelpers'
def construct_PR_URL
remote = git_remote()

View File

@@ -6,14 +6,8 @@
#
# License: Apache 2.0
def push_loadpath
$: << File.expand_path(File.dirname(caller.first))
end
push_loadpath
require 'pathname'
require 'bbhelpers'
require_relative 'bbhelpers'
def construct_PR_list_URL
remote = git_remote()

View File

@@ -6,14 +6,8 @@
#
# License: Apache 2.0, see LICENSE in this repository.
def push_loadpath
$: << File.expand_path(File.dirname(caller.first))
end
push_loadpath
require 'pathname'
require 'bbhelpers'
require_relative 'bbhelpers'
def constructURL
remote = git_remote()