class FileContent

Attributes

content[R]
yaml_front_matter[R]

Public Class Methods

new(yaml_front_matter, content) click to toggle source
# File lib/rollin/article.rb, line 101
def initialize(yaml_front_matter, content)
  @yaml_front_matter = yaml_front_matter
  @content = content
end

Public Instance Methods

has_front_matter?() click to toggle source
# File lib/rollin/article.rb, line 106
def has_front_matter?
  !yaml_front_matter.nil?
end