[augeas-devel] [PATCH] Add a close method to the ruby bindings

Bryan Kearney bkearney at redhat.com
Tue Aug 12 20:09:57 UTC 2008


David Lutterkort wrote:
> 3 files changed, 58 insertions(+), 5 deletions(-)
> README.rdoc          |   21 ++++++++++++++++++++-
> ext/augeas/_augeas.c |   28 ++++++++++++++++++++++++----
> tests/tc_augeas.rb   |   14 ++++++++++++++
> <SNIP>
Much better. Only comment is perhaps you would want to change the error 
to be

"Connection is closed"

from


"Failed to retrieve connection"

to clue them in to the fact that they may have closed it. Garbage 
collecting seemed good under irb.

-- bk




More information about the augeas-devel mailing list