Skip to content

Commit

Permalink
Database#each and Database#each_hash replaced by #foreach and #foreac…
Browse files Browse the repository at this point in the history
…h_hash

and Ruby/Informix version incremented
  • Loading branch information
santana committed Feb 2, 2010
1 parent 26977b7 commit 565c1c0
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions lib/informix.rb
Expand Up @@ -32,7 +32,7 @@
require 'informix/scrollcursor'

module Informix
VERSION = "0.7.2"
VERSION = "0.7.3"
VERSION.freeze

# Shortcut to create a +Database+ object connected to +dbname+ as
Expand Down Expand Up @@ -209,8 +209,6 @@ def foreach(query, options = nil, &block)
self
end

alias each foreach

# Similar to +Database#foreach+, except that retrieves records as hashes
# instead of arrays.
#
Expand All @@ -226,8 +224,6 @@ def foreach_hash(query, options = nil, &block)
self
end

alias each_hash foreach_hash

# Shortcut to create a +Slob+ object.
#
# The +Slob+ object is passed to the block if it's given, and
Expand Down

0 comments on commit 565c1c0

Please sign in to comment.