module YDocx::MarkupMethod

Public Instance Methods

markup(tag, content = [], attributes = {}) click to toggle source
# File lib/ydocx/markup_method.rb, line 6
def markup(tag, content = [], attributes = {})
  tag_hash = {
    :tag        => tag,
    :content    => content,
    :attributes => attributes
  }
  tag_hash
end