Skip to content

Commit

Permalink
save (#246)
Browse files Browse the repository at this point in the history
  • Loading branch information
Vagab authored Dec 3, 2024
1 parent 446af49 commit df92a58
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/literal/data.rb
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ def prop(name, type, kind = :keyword, reader: :public, predicate: false, default
def literal_properties
return @literal_properties if defined?(@literal_properties)

if superclass.is_a?(Literal::Data)
if superclass < Literal::Data
@literal_properties = superclass.literal_properties.dup
else
@literal_properties = Literal::Properties::DataSchema.new
Expand Down

0 comments on commit df92a58

Please sign in to comment.