Class: Syspy::TdsParamfmt

Inherits:
TdsPackage show all
Defined in:
lib/tds_packages/tds_paramfmt.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#parametersObject (readonly)

Returns the value of attribute parameters.



6
7
8
# File 'lib/tds_packages/tds_paramfmt.rb', line 6

def parameters
  @parameters
end

#params_countObject (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