Class: Mascot::Resource::Binding

Inherits:
Struct
  • Object
show all
Defined in:
lib/mascot.rb

Overview

TODO: I don’t like the Binding, locals, and frontmatter being in the Resource. That should be moved to a page object and be delegated to that. Or perhaps the page body? I’m moving forward with this now though to keep the objects simpler. We’ll see how it evolves.

Instance Attribute Summary collapse

Instance Attribute Details

#dataObject

Returns the value of attribute data



34
35
36
# File 'lib/mascot.rb', line 34

def data
  @data
end