Class: Syspy::TdsParamfmt
- Inherits:
-
TdsPackage
- Object
- TdsPackage
- Syspy::TdsParamfmt
- Defined in:
- lib/tds_packages/tds_paramfmt.rb
Instance Attribute Summary collapse
-
#parameters ⇒ Object
readonly
Returns the value of attribute parameters.
-
#params_count ⇒ Object
readonly
Returns the value of attribute params_count.
Instance Method Summary collapse
-
#initialize(io, length) ⇒ TdsParamfmt
constructor
A new instance of TdsParamfmt.
Methods inherited from TdsPackage
#read_int, #read_int16, #read_int32, #read_text, #read_uint, #read_uint16, #read_uint32
Constructor Details
#initialize(io, length) ⇒ TdsParamfmt
Returns a new instance of TdsParamfmt.
8 9 10 11 12 13 14 15 |
# File 'lib/tds_packages/tds_paramfmt.rb', line 8 def initialize(io,length) @params_count = read_uint16(io) puts "TdsParamfmt2: #{@params_count}" @parameters = [] 1.upto(@params_count){ } end |
Instance Attribute Details
#parameters ⇒ Object (readonly)
Returns the value of attribute parameters.
6 7 8 |
# File 'lib/tds_packages/tds_paramfmt.rb', line 6 def parameters @parameters end |
#params_count ⇒ Object (readonly)
Returns the value of attribute params_count.
6 7 8 |
# File 'lib/tds_packages/tds_paramfmt.rb', line 6 def params_count @params_count end |