Sha256: 5cc5141c779e8ec8ff1d0cd9799db7081481c0135e3cb0b508bca9b21926dee2
Contents?: true
Size: 459 Bytes
Versions: 12
Compression:
Stored size: 459 Bytes
Contents
module PageModels class ConfigurationError < StandardError end class ImplementationError < StandardError def initialize(page_model, method) super("#{page_model.class} must implement ##{method}.") end end class MissingPageModelError < StandardError def initialize(klass) super("The page model class for #{klass} has not yet been written. You will need to create 'class #{klass} < PageModels:: Base'") end end end
Version data entries
12 entries across 12 versions & 1 rubygems