lib/kitchen/example_element.rb
# Returns the an enumerator for titles.
#
# @return [ElementEnumerator]
#
Returns the an enumerator for titles.
Returns the an enumerator for titles .
def titles_to_rename
      titles(except: \
        lambda do |title|
          title.parent.has_class?('os-caption-container') || \
          title.parent.has_class?('os-caption') || \
          title.parent.name == 'caption' || \
          title.parent.data_type == 'note' || \
          title.parent.data_type == 'exercise'
        end
      )
    end
def titles_to_rename titles ( except : lambda do | title | title . parent . has_class? ( 'os-caption-container' ) || title . parent . has_class? ( 'os-caption' ) || title . parent . name == 'caption' || title . parent . data_type == 'note' || title . parent . data_type == 'exercise' end ) end
Returns the an enumerator for titles.
Returns the an enumerator for titles .
None
ElementEnumerator