Class: Array

Inherits:
Object
  • Object
show all
Defined in:
lib/prime_do.rb

Instance Method Summary collapse

Instance Method Details

#primeObject



2
3
4
5
6
# File 'lib/prime_do.rb', line 2

def prime
    puts self.class
    puts 'this is the element from the array'
    self.select{|x| pr(x)}
end