Class: SheetInterface::Status
- Inherits:
-
Object
- Object
- SheetInterface::Status
- Defined in:
- lib/sheetinterface.rb
Instance Attribute Summary collapse
-
#message ⇒ Object
writeonly
Sets the attribute message.
Instance Method Summary collapse
Instance Attribute Details
#message=(value) ⇒ Object (writeonly)
Sets the attribute message
58 59 60 |
# File 'lib/sheetinterface.rb', line 58 def (value) @message = value end |
Instance Method Details
#show ⇒ Object
52 53 54 55 56 57 |
# File 'lib/sheetinterface.rb', line 52 def show if(@message) puts @message @message.clear end end |