morellon / rrd-ffi

A ruby wrapper for librrd (rrdtool) using ffi.
MIT License
71 stars 20 forks source link

Option for using wrapper bang methods #21

Closed kibs closed 11 years ago

kibs commented 11 years ago

I was debugging why my graphs didn't generate, and only after changing the Graph.save method to use the wrapper bang method, i got an error. Took my a while to figure out.

So maybe an option for turning on bang methods during development?

morellon commented 11 years ago

I don't see the point for that. Why couldn't you just use the bang method in your code and handle the exceptions?

kibs commented 11 years ago

doh, my bad, I didn't realize there was a RRD.graph! method :)

morellon commented 11 years ago

:) it's ok man. anyway, keep contributing and suggesting improvements. ;)