Sha256: 71020eba151f21c76c760c3b48a706cc0aa21c282015ab33812ffa5e4a26f164
Contents?: true
Size: 357 Bytes
Versions: 2
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
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
yodeler-0.1.3 | lib/yodeler/adapter_not_registered_error.rb |
yodeler-0.1.2 | lib/yodeler/adapter_not_registered_error.rb |