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

chainable methods #40

Closed
jywarren opened this issue Jul 5, 2017 · 2 comments
Closed

chainable methods #40

jywarren opened this issue Jul 5, 2017 · 2 comments
Assignees

Comments

@jywarren
Copy link
Member

jywarren commented Jul 5, 2017

if each method loadImages(), addStep() etc returns the sequencer itself, we can chain, like:

sequencer.loadImages(image_name, image_src)
         .addStep(...)
         .run();

That's also a really succinct way to demonstrate the entire usage cycle of the library, and would be great to include in the README!

@ccpandhare
Copy link
Collaborator

ccpandhare commented Jul 5, 2017 via email

@ccpandhare
Copy link
Collaborator

Fixed in #44.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants