Sha256: 307249d9b7a9e27fae1e7ea57b87cf1ec18ceabc023a08b71418fdf3937d30d8
Contents?: true
Size: 396 Bytes
Versions: 1
Compression:
Stored size: 396 Bytes
Contents
require 'linkedlist/version' require 'linkedlist/nodo' module Node_Double # Clase Nodo Doble class Nodo_Double < Node::Nodo include Comparable attr_accessor :ant end # def <=>(other) return nil unless other.instance_of? Nodo_Double @val <=> other.val end def ==(other) if other.is_a? Nodo_Double @val == other.val else false end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
Referencias_Bibliograficas_APA-0.1.3 | lib/linkedlist/nodo_double.rb |