Method: Zyps::AgeCondition#select

Defined in:
lib/zyps/conditions.rb

#select(actor, targets) ⇒ Object

Returns an array of targets which are older than the assigned age.



46
47
48
# File 'lib/zyps/conditions.rb', line 46

def select(actor, targets)
	targets.find_all {|target| target.age > @age}
end