Class: Rbxl::WriteOnlyCell

Inherits:
Object
  • Object
show all
Defined in:
lib/rbxl/write_only_cell.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(value, style_id: nil) ⇒ WriteOnlyCell

Returns a new instance of WriteOnlyCell.



5
6
7
8
# File 'lib/rbxl/write_only_cell.rb', line 5

def initialize(value, style_id: nil)
  @value = value
  @style_id = style_id
end

Instance Attribute Details

#style_idObject (readonly)

Returns the value of attribute style_id.



3
4
5
# File 'lib/rbxl/write_only_cell.rb', line 3

def style_id
  @style_id
end

#valueObject (readonly)

Returns the value of attribute value.



3
4
5
# File 'lib/rbxl/write_only_cell.rb', line 3

def value
  @value
end