Exception: Pure::DefaultArgumentError

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

Overview

A pure function had a default argument.

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:



71
72
73
# File 'lib/pure/error.rb', line 71

def custom_message  #:nodoc:
  "cannot use default argument in pure function"
end