Sha256: fc097e199a6887652851a802d0a1516761274c8ae1513f9e78497a971ed71843

Contents?: true

Size: 334 Bytes

Versions: 5

Compression:

Stored size: 334 Bytes

Contents

module WWMD
  class VSIndexedStringRef < VSClassHelpers
    attr_reader :value

    def initialize(ref)
      @value = ref
    end

    def serialize
      stack = super
      stack << self.write_int(@value)
      return stack
    end

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

  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
miketracy-wwmd-0.2.11 lib/wwmd/viewstate/vs_indexed_string_ref.rb
miketracy-wwmd-0.2.12 lib/wwmd/viewstate/vs_indexed_string_ref.rb
miketracy-wwmd-0.2.14 lib/wwmd/viewstate/vs_indexed_string_ref.rb
miketracy-wwmd-0.2.15 lib/wwmd/viewstate/vs_indexed_string_ref.rb
miketracy-wwmd-0.2.16 lib/wwmd/viewstate/vs_indexed_string_ref.rb