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
Class Method Details
.type_error(object, method) ⇒ Object
TODO: Extract from this module
368 369 370 |
# File 'lib/ramda/list.rb', line 368 def self.type_error(object, method) raise ArgumentError, "Unexpected type #{object.class} in method: #{method}" end |