Check if all elements in an array are Fixnum

Note: This problem needs knowledge of topics you haven't covered yet. Reading List

Problem Statement


Given an array, return true if all the elements are Fixnums.

You need to write array_of_fixnums? method to accomplish this task.

Example:
Given [1,2,3], the method should return true

Hint

You might want to use Enumerable#all?, more information regarding the method can be found here


You might want to read up on Ruby classes as well, more information can be found here

Output Window


Reading list for this problem

You are yet to work on:

Congratulations, guest!


% of the book completed

or