Module: Ramda::String

Extended by:
Internal::CurriedMethod, Internal::Dispatchable
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

Methods included from Internal::Dispatchable

dispatchable, dispatchable1, dispatchable_error

Class Method Details

.type_error(object) ⇒ Object

TODO: Extract from this module

Raises:

  • (ArgumentError)


86
87
88
# File 'lib/ramda/string.rb', line 86

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