class FieldInfo

Public Class Methods

new(value, length) click to toggle source
# File lib/bitstream/field-info.rb, line 3
def initialize(value, length)
        @table = {}
        @table[:value] = value
        @table[:length] = length
end

Public Instance Methods

[](key) click to toggle source
# File lib/bitstream/field-info.rb, line 9
def [](key)
        @table[key]
end