Class: Stitcher::StitchContent
- Inherits:
-
Object
- Object
- Stitcher::StitchContent
- Includes:
- ValueEquality
- Defined in:
- lib/jirametrics/stitcher.rb
Instance Attribute Summary collapse
-
#content ⇒ Object
readonly
Returns the value of attribute content.
-
#file ⇒ Object
readonly
Returns the value of attribute file.
-
#title ⇒ Object
readonly
Returns the value of attribute title.
-
#type ⇒ Object
readonly
Returns the value of attribute type.
Instance Method Summary collapse
-
#initialize(file:, title:, type:, content:) ⇒ StitchContent
constructor
A new instance of StitchContent.
Methods included from ValueEquality
Constructor Details
#initialize(file:, title:, type:, content:) ⇒ StitchContent
Returns a new instance of StitchContent.
9 10 11 12 13 14 |
# File 'lib/jirametrics/stitcher.rb', line 9 def initialize file:, title:, type:, content: @file = file @title = title @content = content @type = type end |
Instance Attribute Details
#content ⇒ Object (readonly)
Returns the value of attribute content.
7 8 9 |
# File 'lib/jirametrics/stitcher.rb', line 7 def content @content end |
#file ⇒ Object (readonly)
Returns the value of attribute file.
7 8 9 |
# File 'lib/jirametrics/stitcher.rb', line 7 def file @file end |
#title ⇒ Object (readonly)
Returns the value of attribute title.
7 8 9 |
# File 'lib/jirametrics/stitcher.rb', line 7 def title @title end |
#type ⇒ Object (readonly)
Returns the value of attribute type.
7 8 9 |
# File 'lib/jirametrics/stitcher.rb', line 7 def type @type end |