Sha256: d5e8f1cf726107c18b9efef5cc3d34e36c89a9e3496b2c119284ae33b0c8d1ed
Contents?: true
Size: 688 Bytes
Versions: 6
Compression:
Stored size: 688 Bytes
Contents
module Tabulous class OldVersionChecker # The old version of the tabulous.rb file starts like this: # # Tabulous.setup do |config| # # The new version starts like this: # # Tabulous.setup do # # This class is a dummy class that will intercept any methods sent to # the config object if the tabulous.rb file is using the old format. # def method_missing(meth, *args, &block) msg = "It looks like your tabulous.rb file is written for an " msg << "old version of tabulous. This newer version of tabulous " msg << "uses a new syntax that is not backwards-compatible." raise OldVersionError, msg end end end
Version data entries
6 entries across 6 versions & 1 rubygems