Sha256: d7801b9db99145faa3da6585da5a5f64307b70c47601ede7827ce3be7a84b793
Contents?: true
Size: 321 Bytes
Versions: 17
Compression:
Stored size: 321 Bytes
Contents
module Shoppe class Error < StandardError def initialize(options = {}) if options.is_a?(String) @options = {:message => options} else @options = options end end def message @options[:message] end def options @options end end end
Version data entries
17 entries across 17 versions & 3 rubygems