Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adds an item abstraction to Memoizable and Callable Items #34

Merged
merged 1 commit into from
Feb 8, 2017

Conversation

GabrielMalakias
Copy link
Contributor

Hello, I love dry-rb tools, I try to use it in my projects everytime that I can (Great work dry-rb Team!), then I decided to make a change code proposal.

I created a Factory to create a Memoizable Item or a Callable item. When options has the memoize option as true the Memoizable object is created, but if isn't true, the Callable object is used.

* Adds a Factory to create an Item
* Adds Memoizable and Callable classes to avoid some conditions

fix travis

try again
@AMHOL
Copy link
Member

AMHOL commented Feb 8, 2017

Wow, thanks @GabrielMalakias, nice work 👍

Thanks for the PR and using dry-rb 😄

@AMHOL AMHOL merged commit ba4edf1 into dry-rb:master Feb 8, 2017
@flash-gordon flash-gordon changed the title Adds a item abstration to Memoizable and Callable Items Adds an item abstraction to Memoizable and Callable Items Dec 1, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants