I hereby claim:
- I am ericbuehl on github.
- I am ericbuehl (https://keybase.io/ericbuehl) on keybase.
- I have a public key whose fingerprint is E488 8A90 D07F E47D 1005 7C33 5640 83AD 41A2 962D
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
# TOTALLY UNTESTED. Just a sketch. | |
module BatchAccumulator | |
def batch_initialize(options={}) | |
if ! self.class.method_defined?(:flush) | |
raise ArgumentError, "Any class including BatchAccumulator must define a flush() method." | |
end | |
@batch_events ||= 50 |