Sha256: c6670328ef78a28a27b95e06de54abaa93ae575c5f03ae89e07b927ed9a0ae72

Contents?: true

Size: 309 Bytes

Versions: 1

Compression:

Stored size: 309 Bytes

Contents

module BiblioGem
    Node = Struct.new(:value, :next) do
        
        attr_accessor :value, :next, :prev
        
        def initialize(args)
            @value = args[:value]
            @next = args[:next] 
        end
        
        def to_s
            @value.to_s
        end
        
    end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
biblio_gem-0.1.0 lib/biblio_gem/node.rb