Method: Lookbook::FrontmatterExtractor#initialize
- Defined in:
- lib/lookbook/services/templates/frontmatter_extractor.rb
#initialize(content) ⇒ FrontmatterExtractor
Returns a new instance of FrontmatterExtractor.
7 8 9 |
# File 'lib/lookbook/services/templates/frontmatter_extractor.rb', line 7 def initialize(content) @content = content.to_s end |