Class: Enginevib::Output
- Inherits:
-
Object
- Object
- Enginevib::Output
- Defined in:
- lib/enginevib/output.rb
Overview
Defines an output class
Instance Attribute Summary collapse
-
#screen ⇒ Object
Returns the value of attribute screen.
-
#warning ⇒ Object
writeonly
Sets the attribute warning.
-
#window ⇒ Object
Returns the value of attribute window.
Instance Method Summary collapse
-
#initialize ⇒ Output
constructor
A new instance of Output.
- #refresh_display(data, stats) ⇒ Object
Constructor Details
#initialize ⇒ Output
Returns a new instance of Output.
10 11 12 13 |
# File 'lib/enginevib/output.rb', line 10 def initialize return if $TEST init_renderer end |
Instance Attribute Details
#screen ⇒ Object
Returns the value of attribute screen.
6 7 8 |
# File 'lib/enginevib/output.rb', line 6 def screen @screen end |
#warning=(value) ⇒ Object (writeonly)
Sets the attribute warning
8 9 10 |
# File 'lib/enginevib/output.rb', line 8 def warning=(value) @warning = value end |
#window ⇒ Object
Returns the value of attribute window.
6 7 8 |
# File 'lib/enginevib/output.rb', line 6 def window @window end |
Instance Method Details
#refresh_display(data, stats) ⇒ Object
15 16 17 18 |
# File 'lib/enginevib/output.rb', line 15 def refresh_display(data, stats) return if $TEST data, stats end |