Skip to content

Commit

Permalink
remove unnecessary require("rubygems")
Browse files Browse the repository at this point in the history
  • Loading branch information
bakkdoor committed Oct 10, 2013
1 parent 59fcd6e commit 018bd6b
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 7 deletions.
1 change: 0 additions & 1 deletion bin/ifancy
Expand Up @@ -10,7 +10,6 @@ try {
hightlight_code? = false

try {
require("rubygems")
require("coderay")
require(File absolute_path: $ __DIR__ + "/../ruby_lib/interactive/hilight")
hightlight_code? = true
Expand Down
8 changes: 5 additions & 3 deletions lib/documentation.fy
Expand Up @@ -119,9 +119,11 @@ class Fancy Documentation RDiscount {
Fancy Documentation formatter: 'markdown is: |d| { rdiscount: d }

def self rdiscount: doc {
"Format string as HTML using RDiscount ruby gem."
require("rubygems")
"""
Format string as HTML using RDiscount ruby gem.
"""

require("rdiscount")
RDiscount.new(doc to_s).to_html()
RDiscount new(doc to_s) to_html()
}
}
1 change: 0 additions & 1 deletion lib/fdoc.fy
Expand Up @@ -390,7 +390,6 @@ class Fancy FDoc {
}

def self htmlize: str {
require("rubygems")
require("rdiscount")
RDiscount new(str) to_html()
}
Expand Down
1 change: 0 additions & 1 deletion lib/package/installer.fy
Expand Up @@ -73,7 +73,6 @@ class Fancy Package {
@return @Array@ of git tags in the package's Github repository.
"""

require("rubygems")
require("json")
require("http")

Expand Down
1 change: 0 additions & 1 deletion lib/rbx/actor.fy
@@ -1,4 +1,3 @@
require("rubygems")
require("rubinius/actor")
Actor = Rubinius Actor

Expand Down

0 comments on commit 018bd6b

Please sign in to comment.