Class: Lines::Context
- Inherits:
-
Object
- Object
- Lines::Context
- Defined in:
- lib/lines.rb
Instance Attribute Summary collapse
-
#data ⇒ Object
readonly
Returns the value of attribute data.
Instance Method Summary collapse
-
#initialize(data) ⇒ Context
constructor
A new instance of Context.
- #log(obj, args = {}) ⇒ Object
Constructor Details
#initialize(data) ⇒ Context
Returns a new instance of Context.
77 78 79 |
# File 'lib/lines.rb', line 77 def initialize(data) @data = data end |
Instance Attribute Details
#data ⇒ Object (readonly)
Returns the value of attribute data.
75 76 77 |
# File 'lib/lines.rb', line 75 def data @data end |