Class: RubyDocx::Convertor::Html::Hyperlink

Inherits:
Base
  • Object
show all
Defined in:
lib/ruby_docx/convertors/elements/html/hyperlink.rb

Instance Attribute Summary

Attributes inherited from Base

#css, #tag

Instance Method Summary collapse

Methods inherited from Base

#build, #initialize, #styles

Constructor Details

This class inherits a constructor from RubyDocx::Convertor::Html::Base

Instance Method Details

#convertObject



3
4
5
# File 'lib/ruby_docx/convertors/elements/html/hyperlink.rb', line 3

def convert
  RubyDocx::Hyperlink.new(tag['href'])
end