Sha256: dc7a848b144755a226ccdc2b2a261e629d4f29fda10f9ab423539c1c1e7de0ec

Contents?: true

Size: 672 Bytes

Versions: 3

Compression:

Stored size: 672 Bytes

Contents

module ZagorskiADT
  class ADT
    def self.help
      puts "Thank you for using Zagorski Advanced Data Types!"
      puts "This package contains the following Array-like Data Types:"
      puts "-Stack, a LIFO array with functions push and pop"
      puts "-Queue, a FIFO array with functions enqueue and dequeue"
      puts "-StackQueue, a Queue that is Stack-based (no real difference)"
      puts "-MinMaxStack, a Stack that can return Min and Max in constant time"
      puts "-MinMaxStackQueue, a Queue that can return Min and Max in constant time"
      puts ""
      puts "Type ZagorskiADT::Stack::help for a list of Stack functions, and so on."
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
ZagorskiADT-0.1.4 lib/ZagorskiADT/AbstractDataTypes/ADT.rb
ZagorskiADT-0.1.3 lib/ZagorskiADT/AbstractDataTypes/ADT.rb
ZagorskiADT-0.1.2 lib/ZagorskiADT/AbstractDataTypes/ADT.rb