Module: Ramda::String
- Extended by:
- Internal::CurriedMethod
- Defined in:
- lib/ramda/string.rb
Overview
String functions
Class Method Summary collapse
-
.type_error(object) ⇒ Object
TODO: Extract from this module.
Methods included from Internal::CurriedMethod
Class Method Details
.type_error(object) ⇒ Object
TODO: Extract from this module
45 46 47 |
# File 'lib/ramda/string.rb', line 45 def self.type_error(object) raise ArgumentError, "Unexpected type #{object.class}" end |