Sha256: 480ce5427dcc284febbfaec25d5e10c1c5b272789ae802357a1853e462171661
Contents?: true
Size: 357 Bytes
Versions: 1
Compression:
Stored size: 357 Bytes
Contents
module Yodeler class AdapterNotRegisteredError < StandardError attr_reader :name def initialize(name:) @name = name msg = [ "No Yodeler Adapter registed for: ':#{name}'", "Register an adapter with:", "Yodeler.register_adapter(:#{name}, CustomAdapterClass)" ].join("\n") super(msg) end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
yodeler-0.1.1 | lib/yodeler/adapter_not_registered_error.rb |