Exception: Pure::SplatError

Inherits:
RestrictionError show all
Defined in:
lib/pure/error.rb

Overview

A *splat argument was present in a pure function defined with ‘def’.

Instance Attribute Summary

Attributes inherited from ExtractionTimeError

#file, #line

Instance Method Summary collapse

Methods inherited from ExtractionTimeError

#initialize

Constructor Details

This class inherits a constructor from Pure::ExtractionTimeError

Instance Method Details

#custom_messageObject

:nodoc:



64
65
66
# File 'lib/pure/error.rb', line 64

def custom_message  #:nodoc:
  "cannot use splat argument (*) in pure function defined with `def'"
end