Skip to content

&block is omited when method memoized #39

@JelF

Description

@JelF
def foo(&block)
  @block = block
end
memoize :foo

foo { :bar }
@block # => nil

There should be either exception or no memoization in this case

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions