Permalink
Browse files

Fixed Syntax

  • Loading branch information...
1 parent 596a743 commit ec5b68b7ea75520ac3f734032cbe3e25511ed846 @samdunne committed Nov 28, 2012
Showing with 11 additions and 9 deletions.
  1. +11 −9 README.md
View
20 README.md
@@ -13,14 +13,16 @@
## Stacks
### Initialization
- ```ruby
- @stack = RData.Stack
- ```
+
+```ruby
+@stack = RData.Stack
+```
### Operations
- ```ruby
- @stack.push(x) # => Returns 'x'
- @stack.pop # => Returns 'top'
- @stack.top # => Returns 'top'
- @stack.is_empty? # => Returns true/false
- ```
+
+```ruby
+@stack.push(x) # => Returns 'x'
+@stack.pop # => Returns 'top'
+@stack.top # => Returns 'top'
+@stack.is_empty? # => Returns true/false
+```

0 comments on commit ec5b68b

Please sign in to comment.