module Timber # Base class for all `Timber::Contexts::*` classes. # @private class Context def keyspace raise NoImplementedError.new end def as_json(options = {}) raise NotImplementedError.new end def to_json(options = {}) Util::Hash.compact(as_json).to_json(options) end end end