diff --git a/kernel.rb b/kernel.rb index b3da289053..0c95ad0042 100644 --- a/kernel.rb +++ b/kernel.rb @@ -118,15 +118,6 @@ module Kernel # # does not meet condition, drop value # 2.then.detect(&:odd?) # => nil # - # Good usage for +then+ is value piping in method chains: - # - # require 'open-uri' - # require 'json' - # - # construct_url(arguments). - # then {|url| URI(url).read }. - # then {|response| JSON.parse(response) } - # def then Primitive.attr! :inline_block unless defined?(yield)