Class: Item
- Inherits:
-
Object
- Object
- Item
- Defined in:
- lib/cuker/models/models_ready.rb
Direct Known Subclasses
Collection, Comment, Step, TableRow, Tag
Instance Attribute Summary collapse
-
#content ⇒ Object
Returns the value of attribute content.
Instance Method Summary collapse
-
#initialize(content_str) ⇒ Item
constructor
A new instance of Item.
- #to_s ⇒ Object
Constructor Details
#initialize(content_str) ⇒ Item
Returns a new instance of Item.
4 5 6 |
# File 'lib/cuker/models/models_ready.rb', line 4 def initialize content_str @content = content_str end |
Instance Attribute Details
#content ⇒ Object
Returns the value of attribute content.
2 3 4 |
# File 'lib/cuker/models/models_ready.rb', line 2 def content @content end |
Instance Method Details
#to_s ⇒ Object
8 9 10 |
# File 'lib/cuker/models/models_ready.rb', line 8 def to_s @content end |