Class: String

Inherits:
Object
  • Object
show all
Includes:
Enumerable
Defined in:
lib/magician/enumerable.rb

Overview

String objects do not properly inherit these new methods for Enumerable. As a result, String needs to include Enumerable again for these methods to be used on Strings.

Method Summary

Methods included from Enumerable

#empty?, #length, #mean, #median, #middle, #mode, #none?, #numeric_product, #numerics, #occurences, #palindrome?, #range, #sum