Class: Rubble::Executor::Local::StreamInfo
- Inherits:
-
Object
- Object
- Rubble::Executor::Local::StreamInfo
- Defined in:
- lib/rubble/executor/local.rb
Instance Attribute Summary collapse
-
#autoflush ⇒ Object
readonly
Returns the value of attribute autoflush.
-
#data ⇒ Object
Returns the value of attribute data.
-
#level ⇒ Object
Returns the value of attribute level.
Instance Method Summary collapse
-
#initialize(level, autoflush) ⇒ StreamInfo
constructor
A new instance of StreamInfo.
Constructor Details
#initialize(level, autoflush) ⇒ StreamInfo
Returns a new instance of StreamInfo.
10 11 12 13 14 |
# File 'lib/rubble/executor/local.rb', line 10 def initialize(level, autoflush) @level = ::Logging::level_num(level) @data = "" @autoflush = autoflush end |
Instance Attribute Details
#autoflush ⇒ Object (readonly)
Returns the value of attribute autoflush.
9 10 11 |
# File 'lib/rubble/executor/local.rb', line 9 def autoflush @autoflush end |
#data ⇒ Object
Returns the value of attribute data.
7 8 9 |
# File 'lib/rubble/executor/local.rb', line 7 def data @data end |
#level ⇒ Object
Returns the value of attribute level.
8 9 10 |
# File 'lib/rubble/executor/local.rb', line 8 def level @level end |