lib/kbam.rb
def each

		#puts "OBJECT TYPE: #{self.class}"

		if self.class == Kbam

			items = get

			if items != nil
				items.each do |item|
					yield item
				end
			else
				puts "Empty result"
			end

		else
			puts "No Kbam object found!"
		end
	end
# if instance method
# then interferes with
# Array.each implementation!
if instance method
then interferes with
Array.each implementation!
if instance method then interferes with Array . each implementation!
def each
		if self.class == Kbam
			items = get
			if items != nil
				items.each do |item|
					yield item
				end
			else
				puts "Empty result"
			end
		else
			puts "No Kbam object found!"
		end
	end
def each if self . class == Kbam items = get if items != nil items . each do | item | yield item end else puts "Empty result" end else puts "No Kbam object found!" end end
if instance method
then interferes with
Array.each implementation!
if instance method then interferes with Array . each implementation!
#puts "OBJECT TYPE: #{self.class}"