Class: Vore::PageData

Inherits:
Object
  • Object
show all
Defined in:
lib/vore/page_data.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(title:, meta:, content:, path:) ⇒ PageData



7
8
9
10
11
12
# File 'lib/vore/page_data.rb', line 7

def initialize(title:, meta:, content:, path:)
  @title = title
  @meta = meta
  @content = content
  @path = path
end

Instance Attribute Details

#contentObject (readonly)

Returns the value of attribute content.



5
6
7
# File 'lib/vore/page_data.rb', line 5

def content
  @content
end

#metaObject (readonly)

Returns the value of attribute meta.



5
6
7
# File 'lib/vore/page_data.rb', line 5

def meta
  @meta
end

#pathObject (readonly)

Returns the value of attribute path.



5
6
7
# File 'lib/vore/page_data.rb', line 5

def path
  @path
end

#titleObject (readonly)

Returns the value of attribute title.



5
6
7
# File 'lib/vore/page_data.rb', line 5

def title
  @title
end