git.wincent.com
/
walrat.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0a3e8eb
)
Require 'continuation' unconditionally
author
Greg Hurrell <greg@hurrell.net>
Wed, 22 Oct 2014 00:51:36 +0000
(17:51 -0700)
committer
Greg Hurrell <greg@hurrell.net>
Wed, 22 Oct 2014 00:51:36 +0000
(17:51 -0700)
Now that we're on Ruby 2.1, there is no need for the conditional.
lib/walrat.rb
patch
|
blob
|
history
diff --git
a/lib/walrat.rb
b/lib/walrat.rb
index aecd101b0e48774adeb365ee3e966adc7f875c8d..03072f2a255c2a0944608096b9577cf41138ffa3 100644
(file)
--- a/
lib/walrat.rb
+++ b/
lib/walrat.rb
@@
-1,8
+1,7
@@
# Copyright 2007-2014 Greg Hurrell. All rights reserved.
# Licensed under the terms of the BSD 2-clause license.
-# Ruby 1.9 support
-require 'continuation' unless Kernel.respond_to?(:callcc)
+require 'continuation'
module Walrat
major, minor = RUBY_VERSION.split '.'