Sha256: 607bc0c56cf1ba3fad286c1e2fbb1930e8e2a366a2872f1a2e91614f211458a4

Contents?: true

Size: 468 Bytes

Versions: 4

Compression:

Stored size: 468 Bytes

Contents

module WWMD
  class VSStubs::VSIntEnum
    include VSStubHelpers

    attr_accessor :value
    attr_reader   :typeref
    attr_reader   :typeval

    def initialize(typeref,typeval,index)
      @typeref = typeref
      @typeval = typeval
      @value = index
    end

    def serialize
      stack = super
      stack << self.write_7bit_encoded_int(self.value)
    end

    def to_xml
      xml = super
      xml.add_text(self.value.to_s)
      xml
    end

  end
end

Version data entries

4 entries across 4 versions & 3 rubygems

Version Path
iZsh-wwmd-0.2.19 lib/wwmd/viewstate/vs_stubs/vs_int_enum.rb
miketracy-wwmd-0.2.17 lib/wwmd/viewstate/vs_stubs/vs_int_enum.rb
miketracy-wwmd-0.2.19 lib/wwmd/viewstate/vs_stubs/vs_int_enum.rb
wwmd-0.2.20.3 lib/wwmd/viewstate/vs_stubs/vs_int_enum.rb