Module: Munge::Helper::Data
- Defined in:
- lib/munge/helper/data.rb
Instance Method Summary collapse
Instance Method Details
#data_stack ⇒ Object
4 5 6 |
# File 'lib/munge/helper/data.rb', line 4 def data_stack @data_stack ||= [] end |
#frontmatter ⇒ Object
16 17 18 |
# File 'lib/munge/helper/data.rb', line 16 def frontmatter data_stack.last end |
#globals ⇒ Object
8 9 10 |
# File 'lib/munge/helper/data.rb', line 8 def globals data_stack[0] end |
#instance ⇒ Object
12 13 14 |
# File 'lib/munge/helper/data.rb', line 12 def instance data_stack[1] end |