Sha256: fd166f575dbcbc5ee03a8eccb9712afa08f7040984359e1bda74aa2f061a25dc
Contents?: true
Size: 326 Bytes
Versions: 4
Compression:
Stored size: 326 Bytes
Contents
# frozen_string_literal: true module Clowne module DSL # :nodoc: all def adapter(adapter = nil) if adapter.nil? return @_adapter if instance_variable_defined?(:@_adapter) @_adapter = Clowne.default_adapter else @_adapter = Clowne.resolve_adapter(adapter) end end end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
clowne-0.2.0 | lib/clowne/dsl.rb |
clowne-0.1.0 | lib/clowne/dsl.rb |
clowne-0.1.0.beta1 | lib/clowne/dsl.rb |
clowne-0.1.0.pre1 | lib/clowne/dsl.rb |