Module: Ramda::String

Extended by:
Internal::CurriedMethod
Included in:
Ramda
Defined in:
lib/ramda/string.rb

Overview

String functions

Class Method Summary collapse

Methods included from Internal::CurriedMethod

curried, curried_method_body, debug_log, replace_placeholder

Class Method Details

.type_error(object) ⇒ Object

TODO: Extract from this module

Raises:

  • (ArgumentError)


67
68
69
# File 'lib/ramda/string.rb', line 67

def self.type_error(object)
  raise ArgumentError, "Unexpected type #{object.class}"
end