mirror of
https://github.com/ditkrg/active_model_serializers.git
synced 2026-01-25 15:23:06 +00:00
Remove explicit reference to self
This commit is contained in:
committed by
Santiago Pastorino
parent
adee76181f
commit
115de49004
@@ -13,8 +13,8 @@ module ActiveModel
|
|||||||
|
|
||||||
class << self
|
class << self
|
||||||
def inherited(base)
|
def inherited(base)
|
||||||
base._attributes = (self._attributes || []).dup
|
base._attributes = (_attributes || []).dup
|
||||||
base._associations = (self._associations || {}).dup
|
base._associations = (_associations || {}).dup
|
||||||
end
|
end
|
||||||
|
|
||||||
def setup
|
def setup
|
||||||
|
|||||||
Reference in New Issue
Block a user