Skip to content

Commit

Permalink
Allow Parent to be Set on AttributeList
Browse files Browse the repository at this point in the history
This allows the parent to be set on the AttributeList.
  • Loading branch information
Jeremy Rodi committed Mar 7, 2017
1 parent aa69d3b commit e9e5ad0
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions lib/mixture/attribute_list.rb
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,11 @@ class AttributeList
attr_reader :callbacks

# The parent of this attribute list. This is "merged" into this attribute
# list.
attr_reader :parent
# list. This shouldn't be set since it is automatically assumed; however,
# sometimes it can be assumed wrong.
#
# @return [AttributeList, nil]
attr_accessor :parent

# Initializes the attribute list.
#
Expand Down

0 comments on commit e9e5ad0

Please sign in to comment.