Sha256: a2835921b8555e7c80ce39d85f4678d99e198e81c2240e8c4004253ec578b735

Contents?: true

Size: 476 Bytes

Versions: 3

Compression:

Stored size: 476 Bytes

Contents

def string
  "---
title: hello
---
Content"
end

def string_no_front_matter
  "Content"
end

def string_no_content
"---
title: hello
---
"
end

def string_comment(comment)
  "#{comment} ---
  #{comment} title: hello
  #{comment} ---
Content"
end

def string_start_comment(start_comment)
  "#{start_comment}
  ---
  title: hello
  ---
Content"
end

def string_start_end_comment(start_comment, end_comment)
  "#{start_comment}
---
title: hello
---
  #{end_comment}
Content"
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
front_matter_parser-0.0.4 spec/support/strings.rb
front_matter_parser-0.0.3 spec/support/strings.rb
front_matter_parser-0.0.2 spec/support/strings.rb