Skip to content

Commit

Permalink
Simplify previous copypasta'd attempt
Browse files Browse the repository at this point in the history
  • Loading branch information
ttencate committed Jul 10, 2012
1 parent 71495b6 commit 3414b4b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/ticgit-ng.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 3414b4b

Please sign in to comment.