class Paru::PandocFilter::Target
A Target
represents the target of a link or image
@!attribute url
@return [String] the target
@!attribute title
@return [String] the title of the target
Attributes
Public Class Methods
Source
# File lib/paru/filter/target.rb, line 34 def initialize(contents) @url = contents[0] @title = contents[1] end
Create a new Target
based on the contents
@param contents [Array]