class Unparser::Adamantium::MethodBuilder::BlockNotAllowedError
Raised when a block is passed to a memoized method
def initialize(descendant, method)
- Api: - private
Parameters:
-
method
(Symbol
) -- -
descendant
(Module
) --
def initialize(descendant, method) super("Cannot pass a block to #{descendant}##{method}, it is memoized") end