lib/hatemile/implementation/accessible_css_implementation.rb
##
# The operation method of _speak_as method for spell-out.
#
# @param content [String] The text content of element.
# @param index [Integer] The index of pattern in text content of element.
# @param children [Array<Hatemile::Util::Html::HTMLDOMElement>] The
#   children of element.
# @return [Array<Hatemile::Util::Html::HTMLDOMElement>] The new children
#   of element.
The operation method of _speak_as method for spell-out.
The operation method of _speak_as method for spell - out .
def operation_speak_as_spell_out(content, index, children)
        children.push(
          create_content_element(content[0..index], 'spell-out')
        )
        children.push(create_aural_content_element(' ', 'spell-out'))
        children
      end
def operation_speak_as_spell_out ( content , index , children ) children . push ( create_content_element ( content [ 0 .. index ] , 'spell-out' ) ) children . push ( create_aural_content_element ( ' ' , 'spell-out' ) ) children end
The operation method of _speak_as method for spell-out.
The operation method of _speak_as method for spell - out .
The new children of element.
The new children of element .
Array<Hatemile::Util::Html::HTMLDOMElement>
content
The text content of element.
The text content of element .
index
The index of pattern in text content of element.
The index of pattern in text content of element .
children
The children of element.
The children of element .