Class: Rubble::Executor::Local::Line
- Inherits:
-
Object
- Object
- Rubble::Executor::Local::Line
- Defined in:
- lib/rubble/executor/local.rb
Instance Attribute Summary collapse
-
#level ⇒ Object
readonly
Returns the value of attribute level.
-
#text ⇒ Object
readonly
Returns the value of attribute text.
Instance Method Summary collapse
-
#initialize(level, text) ⇒ Line
constructor
A new instance of Line.
Constructor Details
#initialize(level, text) ⇒ Line
Returns a new instance of Line.
20 21 22 23 |
# File 'lib/rubble/executor/local.rb', line 20 def initialize(level, text) @level = level @text = text.chomp end |
Instance Attribute Details
#level ⇒ Object (readonly)
Returns the value of attribute level.
18 19 20 |
# File 'lib/rubble/executor/local.rb', line 18 def level @level end |
#text ⇒ Object (readonly)
Returns the value of attribute text.
19 20 21 |
# File 'lib/rubble/executor/local.rb', line 19 def text @text end |