#228: Add aug_srun to ruby-augeas
--------------------------+-------------------------------------------------
Reporter: domcleal | Owner: lutter
Type: enhancement | Status: new
Priority: minor | Milestone: next
Component: Augeas | Version: 0.9.0
Resolution: | Keywords: aug_srun ruby
--------------------------+-------------------------------------------------
Comment (by domcleal):
I've just discovered I did this earlier in the year, but guess I forgot to
submit it!
The need for an fd makes it a bit of a pain to use from Ruby, because as
far as I know, there's no interface to memstreams. There's StringIO which
looks like an IO object, but it's a pure Ruby construct and doesn't seem
to have a corresponding fileno.
My test uses a temp file, which I guess is the only option. Any other
ideas would be welcomed.
Added in fb09eb49cb here: https://github.com/domcleal/ruby-
augeas/tree/aug_srun
--
Ticket URL: <https://fedorahosted.org/augeas/ticket/228#comment:1>
Augeas <http://augeas.net/>
a configuration API
_______________________________________________
augeas-devel mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/augeas-devel