diff options
| author | Teddy Wing | 2014-06-08 02:24:02 -0400 |
|---|---|---|
| committer | Teddy Wing | 2014-06-08 02:24:02 -0400 |
| commit | 16acafde8f0639cc2cbb5818f6f0af1df8441440 (patch) | |
| tree | 1412760599c551c8078e6c7ca7a169465d9237ab /fancy_bear | |
| parent | 9f7dfa9233003cb496499dbbcd51ba10d31d3484 (diff) | |
| download | sellevate-16acafde8f0639cc2cbb5818f6f0af1df8441440.tar.bz2 | |
fancy_bear/: use relative requires
I can't import fancy_bear in app.rb without using relative requires
here.
Diffstat (limited to 'fancy_bear')
| -rw-r--r-- | fancy_bear/contextio.rb | 4 | ||||
| -rw-r--r-- | fancy_bear/fancy_bear.rb | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/fancy_bear/contextio.rb b/fancy_bear/contextio.rb index f81a703..88fc988 100644 --- a/fancy_bear/contextio.rb +++ b/fancy_bear/contextio.rb @@ -1,5 +1,5 @@ -require './contextio/config' -require './contextio/auth' +require_relative 'contextio/config' +require_relative 'contextio/auth' module FancyBear module ContextIO diff --git a/fancy_bear/fancy_bear.rb b/fancy_bear/fancy_bear.rb index 205d767..81feb4f 100644 --- a/fancy_bear/fancy_bear.rb +++ b/fancy_bear/fancy_bear.rb @@ -1,4 +1,4 @@ -require './contextio' +require_relative 'contextio' module FancyBear end |
