Class: Mork::Resolved::Cell
- Inherits:
-
Object
- Object
- Mork::Resolved::Cell
- Defined in:
- lib/mork/resolved/cell.rb
Overview
A resolved Cell
Instance Attribute Summary collapse
-
#key ⇒ Object
readonly
Returns the value of attribute key.
-
#value ⇒ Object
readonly
Returns the value of attribute value.
Instance Method Summary collapse
-
#initialize(key:, value:) ⇒ Cell
constructor
A new instance of Cell.
Constructor Details
#initialize(key:, value:) ⇒ Cell
Returns a new instance of Cell.
11 12 13 14 |
# File 'lib/mork/resolved/cell.rb', line 11 def initialize(key:, value:) @key = key @value = value end |
Instance Attribute Details
#key ⇒ Object (readonly)
Returns the value of attribute key.
8 9 10 |
# File 'lib/mork/resolved/cell.rb', line 8 def key @key end |
#value ⇒ Object (readonly)
Returns the value of attribute value.
9 10 11 |
# File 'lib/mork/resolved/cell.rb', line 9 def value @value end |