Class: Mork::Resolved::Table

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

Overview

A resolved Table

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(action:, namespace:, id:, rows:) ⇒ Table

Returns a new instance of Table.



13
14
15
16
17
18
# File 'lib/mork/resolved/table.rb', line 13

def initialize(action:, namespace:, id:, rows:)
  @action = action
  @namespace = namespace
  @id = id
  @rows = rows
end

Instance Attribute Details

#actionObject (readonly)

Returns the value of attribute action.



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

def action
  @action
end

#idObject (readonly)

Returns the value of attribute id.



10
11
12
# File 'lib/mork/resolved/table.rb', line 10

def id
  @id
end

#namespaceObject (readonly)

Returns the value of attribute namespace.



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

def namespace
  @namespace
end

#rowsObject (readonly)

Returns the value of attribute rows.



11
12
13
# File 'lib/mork/resolved/table.rb', line 11

def rows
  @rows
end