Sha256: 4a5ea4e60272b64dd687a8f69d41ae67f4bf87de7adfafeab5c43a7cd8190b20

Contents?: true

Size: 700 Bytes

Versions: 1

Compression:

Stored size: 700 Bytes

Contents

module Zadt
  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 "Each data type also has a help function.  Type Zadt::Stack::help for a list of Stack functions, and so on."
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
zadt-0.1.1 lib/zadt/AbstractDataTypes/ADT.rb