Class: Ax25::PathAgnosticImmutableFrame

Inherits:
ImmutableFrame show all
Defined in:
lib/ax25/frame/path_agnostic_immutable_frame.rb

Instance Attribute Summary

Attributes included from Frame

#path

Attributes included from Message

#destination, #payload, #source

Instance Method Summary collapse

Methods inherited from ImmutableMessage

#path_agnostic_eql?, #path_agnostic_equality?, #path_agnostic_hash

Instance Method Details

#==(other) ⇒ Object



17
18
19
# File 'lib/ax25/frame/path_agnostic_immutable_frame.rb', line 17

def ==(other)
  return self.path_agnostic_equality? other
end

#eql?(other) ⇒ Boolean

Returns:

  • (Boolean)


12
13
14
# File 'lib/ax25/frame/path_agnostic_immutable_frame.rb', line 12

def eql?(other)
  return self.path_agnostic_eql? other
end

#hashObject



22
23
24
# File 'lib/ax25/frame/path_agnostic_immutable_frame.rb', line 22

def hash
  return self.path_agnostic_hash
end

#path_agnostic_identityObject



27
28
29
# File 'lib/ax25/frame/path_agnostic_immutable_frame.rb', line 27

def path_agnostic_identity
  return self
end