Sha256: f1e900b2a4e8f89c8246c40f3fab6de8dc995c7b33b76034cc2b30f62b7a44f0
Contents?: true
Size: 479 Bytes
Versions: 11
Compression:
Stored size: 479 Bytes
Contents
module Lotus module Model module Adapters # @since 0.2.0 class NoAdapterError < ::StandardError def initialize(method_name) super("Cannot invoke `#{ method_name }' without selecting an adapter. Please check your framework configuration.") end end # @since 0.2.0 # @api private class NullAdapter def method_missing(m, *args) raise NoAdapterError.new(m) end end end end end
Version data entries
11 entries across 11 versions & 1 rubygems