Class: Rbxl::WriteOnlyCell
- Inherits:
-
Object
- Object
- Rbxl::WriteOnlyCell
- Defined in:
- lib/rbxl/write_only_cell.rb
Instance Attribute Summary collapse
-
#style_id ⇒ Object
readonly
Returns the value of attribute style_id.
-
#value ⇒ Object
readonly
Returns the value of attribute value.
Instance Method Summary collapse
-
#initialize(value, style_id: nil) ⇒ WriteOnlyCell
constructor
A new instance of WriteOnlyCell.
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_id ⇒ Object (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 |
#value ⇒ Object (readonly)
Returns the value of attribute value.
3 4 5 |
# File 'lib/rbxl/write_only_cell.rb', line 3 def value @value end |