Class: WLang::Source::FrontMatter
Instance Attribute Summary
#subject, #template
Instance Method Summary
collapse
#path, #raw_content, #to_str, #with_front_matter
Constructor Details
#initialize(*args, &block) ⇒ FrontMatter
5
6
7
8
|
# File 'lib/wlang/source/front_matter.rb', line 5
def initialize(*args, &block)
super
compile
end
|
Instance Method Details
#locals ⇒ Object
10
11
12
|
# File 'lib/wlang/source/front_matter.rb', line 10
def locals
@locals
end
|
#template_content ⇒ Object
14
15
16
|
# File 'lib/wlang/source/front_matter.rb', line 14
def template_content
@template_content
end
|