Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Simplify previous copypasta'd attempt

  • Loading branch information...
commit 3414b4baad924c256b7cfb4f528bf3181b80a5e4 1 parent 71495b6
@ttencate authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/ticgit-ng.rb
View
2  lib/ticgit-ng.rb
@@ -16,7 +16,7 @@
require 'git'
#Only redefine if we are not using 1.9
-unless Object.const_get(defined?(RbConfig) ? :RbConfig : :Config)::CONFIG["ruby_version"][/^\d\.9/]
+unless (defined?(RbConfig) ? RbConfig : Config)::CONFIG["ruby_version"][/^\d\.9/]
# FIXME: Monkeypatch git until fixed upstream
module Git
class Lib
Please sign in to comment.
Something went wrong with that request. Please try again.