Class: Archruby::Presenters::CellDSM

Inherits:
Object
  • Object
show all
Defined in:
lib/archruby/presenters/dsm/cell_dsm.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(how_many_access, type) ⇒ CellDSM

Returns a new instance of CellDSM.



9
10
11
12
# File 'lib/archruby/presenters/dsm/cell_dsm.rb', line 9

def initialize(how_many_access, type)
  @how_many_access = how_many_access
  @type = type
end

Instance Attribute Details

#how_many_accessObject (readonly)

Returns the value of attribute how_many_access.



7
8
9
# File 'lib/archruby/presenters/dsm/cell_dsm.rb', line 7

def how_many_access
  @how_many_access
end

#typeObject (readonly)

Returns the value of attribute type.



6
7
8
# File 'lib/archruby/presenters/dsm/cell_dsm.rb', line 6

def type
  @type
end