Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

pry output and input objects have confusing interface #679

Open
banister opened this Issue · 2 comments

3 participants

@banister
Owner

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

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.

@yui-knk
Collaborator

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

@rf- rf- removed the important label
@rf- rf- added this to the v1.0.0 milestone
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.