Class: Mascot::Resource::Binding
- Inherits:
-
Struct
- Object
- Struct
- Mascot::Resource::Binding
- 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
-
#data ⇒ Object
Returns the value of attribute data.
Instance Attribute Details
#data ⇒ Object
Returns the value of attribute data
34 35 36 |
# File 'lib/mascot.rb', line 34 def data @data end |