mirror of
https://git.kescher.at/CatCatNya/catstodon.git
synced 2024-11-24 15:08:06 +01:00
08dce5e607
* @object is not needed * Remove unneeded dependencies * Do not call private method * Prefer #respond_to_missing? over #respond_to? `#respond_to?` doesn't support `User.settings.method(:method_name)` * Use find_or_initialize_by instead of
9 lines
143 B
Ruby
9 lines
143 B
Ruby
# frozen_string_literal: true
|
|
|
|
module Settings
|
|
module Extend
|
|
def settings
|
|
@settings ||= ScopedSettings.new(self)
|
|
end
|
|
end
|
|
end
|