diff options
author | Eric Wong <e@80x24.org> | 2017-06-26 02:31:57 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2017-06-26 02:31:57 +0000 |
commit | 966a20f1533b0781197221bcb7ed97f0c0622006 (patch) | |
tree | b630ca999ba252d68d70f729991134d0ae2e4968 | |
parent | b93b426d181796b63d8c314c0f0364a25a3da033 (diff) | |
download | mogilefs-client-966a20f1533b0781197221bcb7ed97f0c0622006.tar.gz |
This should compile to smaller bytecode with YARV
-rw-r--r-- | lib/mogilefs/pool.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/mogilefs/pool.rb b/lib/mogilefs/pool.rb index e7c4009..390e4a9 100644 --- a/lib/mogilefs/pool.rb +++ b/lib/mogilefs/pool.rb @@ -11,7 +11,7 @@ class MogileFS::Pool # Default: 2 attr_accessor :purge_keep - class BadObjectError < RuntimeError; end + BadObjectError = Class.new(RuntimeError) def initialize(klass, *args) @args = args |