Class: Transit::Decoder::Tag Private

Inherits:
Object
  • Object
show all
Defined in:
lib/transit/decoder.rb

This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(value) ⇒ Tag

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Returns a new instance of Tag.



47
48
49
# File 'lib/transit/decoder.rb', line 47

def initialize(value)
  @value = value
end

Instance Attribute Details

#valueObject (readonly)

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.



46
47
48
# File 'lib/transit/decoder.rb', line 46

def value
  @value
end