Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Tag: v0.2.0
Fetching contributors…

Cannot retrieve contributors at this time

37 lines (27 sloc) 0.59 kB

RData

Code Climate Build Status

Installation

gem install rdata

Or in a Gemfile

gem '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
Jump to Line
Something went wrong with that request. Please try again.