Question from the Ruby test

Return the instance methods common to String, Integer and Array, returns an array

Hard

What does ['string', 50, []].map(&:class).map(&:instance_methods).reduce {|a, b| a & b} return?

Author: HivebriteStatus: PublishedQuestion passed 194 times
Edit
0
Community EvaluationsNo one has reviewed this question yet, be the first!