> stdout = stdin = stub 'fh', :readlines => []
> stderr = stub 'stderr', :readlines => %w{my content}
>
Wouldn't using StringIO be a whole lot easier (& significantly less
brittle)?
-- Markus
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Puppet Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/puppet-dev?hl=en
-~----------~----~----~----~------~----~------~--~---