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
__make_curry_proc__, curried_method, curried_method_body, curried_method_v1, curried_method_v2, replace_placeholder
Class Method Details
.type_error(object) ⇒ Object
TODO: Extract from this module
59 60 61 |
# File 'lib/ramda/string.rb', line 59 def self.type_error(object) raise ArgumentError, "Unexpected type #{object.class}" end |