Class: Baykit::BayServer::Agent::Letters::WroteLetter
- Defined in:
- lib/baykit/bayserver/agent/letters/wrote_letter.rb
Instance Attribute Summary collapse
-
#n_bytes ⇒ Object
readonly
Returns the value of attribute n_bytes.
Attributes inherited from Letter
Instance Method Summary collapse
-
#initialize(st, n) ⇒ WroteLetter
constructor
A new instance of WroteLetter.
Constructor Details
#initialize(st, n) ⇒ WroteLetter
Returns a new instance of WroteLetter.
8 9 10 11 |
# File 'lib/baykit/bayserver/agent/letters/wrote_letter.rb', line 8 def initialize(st, n) super st @n_bytes = n end |
Instance Attribute Details
#n_bytes ⇒ Object (readonly)
Returns the value of attribute n_bytes.
6 7 8 |
# File 'lib/baykit/bayserver/agent/letters/wrote_letter.rb', line 6 def n_bytes @n_bytes end |