Exception: Pure::DefineMethodError

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

Overview

define_method called inside a pure module.

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:



78
79
80
# File 'lib/pure/error.rb', line 78

def custom_message  #:nodoc:
  "cannot use define_method in a pure module (use `fun' instead)"
end