# frozen_string_literal: true class MetadataHasOneNested < MetadataHasOne def nested @nested ||= layout.metadata.dig(name, 'nested') end def nested? true end end