Sha256: 8af59099ca4da9e72075f01e605628c943cd587bdbfddd83d3e2512aea1a0fb1
Contents?: true
Size: 387 Bytes
Versions: 94
Compression:
Stored size: 387 Bytes
Contents
require_relative 'error' class ReeErrors::ErrorFactory class << self contract Symbol, String => SubclassOf[ReeErrors::Error] def build(code, locale = nil) self.new.build(code, locale) end end contract Symbol, String => SubclassOf[ReeErrors::Error] def build(code, locale = nil) raise NotImplementedError, "should be implemented in derived class" end end
Version data entries
94 entries across 94 versions & 1 rubygems