5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-11-24 11:36:23 +00:00
panel/app/models/metadata_html.rb
f 915ba0761f
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
feat: usar mixins
2023-10-06 10:53:19 -03:00

13 lines
263 B
Ruby

# frozen_string_literal: true
# Campos en HTML
class MetadataHtml < MetadataContent
include Metadata::FrontMatterConcern
# Volver a obtener el valor desde el documento
#
# @return [String,nil]
def document_value
document.data[name.to_s]
end
end