Method: LLVM::User::OperandCollection#each

Defined in:
lib/llvm/core/value.rb

#eachObject

Iterates through each operand in the collection.



300
301
302
303
304
# File 'lib/llvm/core/value.rb', line 300

def each
  return to_enum :each unless block_given?
  0.upto(size - 1) { |i| yield self[i] }
  self
end