class Ov::OA

Attributes

complete[RW]
get[RW]
result[RW]

Public Instance Methods

find_or_next(method) { |method| ... } click to toggle source
# File lib/ov/ov_array.rb, line 21
def find_or_next(method, &block)
  return self if @complete
  ev_block = yield(method)
  @complete, @result = true, ev_block if ev_block
  self
end
where(method) click to toggle source

find in self find in ancestors find types find any types

# File lib/ov/ov_array.rb, line 8
def where(method)
  @complete, @result = nil, nil
  z = find_or_next(method) { |method| 
    self.find{|m| m.eql?(method) }
  }.find_or_next(method) { |method|
    self.find{|m| m.eql0?(method) }
  }.find_or_next(method) { |method|
    self.find{|m| m.like?(method) }
  }.find_or_next(method) {|method| 
    self.find{|m| m.like0?(method) }
  }.get
end