Skip to content
This repository

Datastructures in Ruby

tree: a2b718dcfb

Fetching latest commit…

Cannot retrieve the latest commit at this time

README.md

RData

Code Climate Build Status

Installation

gem install rdata

Usage

require 'rdata'

Stacks

Initialization

@stack = RData.Stack

Operations

@stack.push(x)      # => Returns 'x'
@stack.pop          # => Returns 'top'
@stack.top          # => Returns 'top'
@stack.is_empty?    # => Returns true/false
Something went wrong with that request. Please try again.