lib/card/format/nest/subformat.rb in card-1.92.2 vs lib/card/format/nest/subformat.rb in card-1.93.0
- old
+ new
@@ -22,10 +22,10 @@
def focal? # meaning the current card is the requested card
depth.zero?
end
def field_subformat field
- field = card.cardname.field(field) unless field.is_a?(Card)
+ field = card.name.field(field) unless field.is_a?(Card)
subformat field
end
end
end
end