Class: Suma::ExpressReformatter::Result
- Inherits:
-
Struct
- Object
- Struct
- Suma::ExpressReformatter::Result
- Defined in:
- lib/suma/express_reformatter.rb
Instance Attribute Summary collapse
-
#changed? ⇒ Object
Returns the value of attribute changed?.
-
#content ⇒ Object
Returns the value of attribute content.
Instance Method Summary collapse
Instance Attribute Details
#changed? ⇒ Object
Returns the value of attribute changed?
21 22 23 |
# File 'lib/suma/express_reformatter.rb', line 21
def changed?
@changed?
end
|
#content ⇒ Object
Returns the value of attribute content
21 22 23 |
# File 'lib/suma/express_reformatter.rb', line 21 def content @content end |
Instance Method Details
#content_or_nil ⇒ Object
22 23 24 |
# File 'lib/suma/express_reformatter.rb', line 22 def content_or_nil changed? ? content : nil end |