Class: PFM::Message::Instructions::Marker
- Defined in:
- docs/4_Systems_004_Message.rb
Overview
Class that describes a Marker
Instance Attribute Summary collapse
-
#data ⇒ String
readonly
Get the marker data.
-
#id ⇒ Integer
readonly
Get the marker ID.
-
#width ⇒ Integer
readonly
Get the width of the marker.
Instance Method Summary collapse
-
#initialize(id, data, width = 0) ⇒ Marker
constructor
Create a new Marker.
Constructor Details
#initialize(id, data, width = 0) ⇒ Marker
Create a new Marker
299 300 |
# File 'docs/4_Systems_004_Message.rb', line 299 def initialize(id, data, width = 0) end |
Instance Attribute Details
#data ⇒ String (readonly)
Get the marker data
291 292 293 |
# File 'docs/4_Systems_004_Message.rb', line 291 def data @data end |
#id ⇒ Integer (readonly)
Get the marker ID
288 289 290 |
# File 'docs/4_Systems_004_Message.rb', line 288 def id @id end |
#width ⇒ Integer (readonly)
Get the width of the marker
294 295 296 |
# File 'docs/4_Systems_004_Message.rb', line 294 def width @width end |