Module: Ramda::List
- Extended by:
- Internal::CurriedMethod
- Defined in:
- lib/ramda/list.rb
Overview
List functions rubocop:disable Metrics/ModuleLength
Class Method Summary collapse
-
.type_error(object, method) ⇒ 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, method) ⇒ Object
TODO: Extract from this module
534 535 536 |
# File 'lib/ramda/list.rb', line 534 def self.type_error(object, method) raise ArgumentError, "Unexpected type #{object.class} in method: #{method}" end |