diff --git a/CONTRIBUTORS.md b/CONTRIBUTORS.md index 0b119e898..6b04065d8 100644 --- a/CONTRIBUTORS.md +++ b/CONTRIBUTORS.md @@ -48,3 +48,4 @@ Max Weinstein
Gibus Wearing Brony
+Arun Sahadeo diff --git a/contents/bubble_sort/bubble_sort.md b/contents/bubble_sort/bubble_sort.md index 6b97a74bd..2a08b628c 100644 --- a/contents/bubble_sort/bubble_sort.md +++ b/contents/bubble_sort/bubble_sort.md @@ -38,6 +38,8 @@ This means that we need to go through the vector $$\mathcal{O}(n^2)$$ times with [import:1-13, lang:"swift"](code/swift/bubblesort.swift) {% sample lang="ti83b" %} [import:2-13, lang:"ti-83_basic"](code/ti83basic/BUBLSORT.txt) +{% sample lang="ruby" %} +[import:3-13, lang:"ruby"](code/ruby/bubble.rb) {% endmethod %} ... And that's it for the simplest bubble sort method. @@ -81,6 +83,8 @@ Program.cs [import, lang:"swift"](code/swift/bubblesort.swift) {% sample lang="ti83b" %} [import, lang:"ti-83_basic"](code/ti83basic/BUBLSORT.txt) +{% sample lang="ruby" %} +[import, lang:ruby"](code/ruby/bubble.rb) {% endmethod %}