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

Already on GitHub? Sign in to your account

pry output and input objects have confusing interface #679

Open
banister opened this Issue Aug 4, 2012 · 2 comments

Comments

Projects
None yet
3 participants
Owner

banister commented Aug 4, 2012

It seems that output objects can have a variety of methods invoked on them puts, tty?, flush, print -- so it's far from obvious what constitutes a valid output object.

Also, what are the conditions for an input object?

These interfaces must be much more clearly defined.

@ghost

ghost commented Feb 3, 2014

it seems to be IO-like unless it's Readline or Coolline(input). a single interface would be cool if it could wrap Readline/Coolline underneath something that's always IO-like. I think output is just always IO-like.

Member

yui-knk commented Feb 3, 2014

I agree. If their names are input or output. Their interface should be like IO.

@rf- rf- removed the important label Apr 29, 2014

@rf- rf- added this to the v1.0.0 milestone Apr 29, 2014

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