Class: Mork::Resolved::Cell

Inherits:
Object
  • Object
show all
Defined in:
lib/mork/resolved/cell.rb

Overview

A resolved Cell

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#keyObject (readonly)

Returns the value of attribute key.



8
9
10
# File 'lib/mork/resolved/cell.rb', line 8

def key
  @key
end

#valueObject (readonly)

Returns the value of attribute value.



9
10
11
# File 'lib/mork/resolved/cell.rb', line 9

def value
  @value
end