Skip to content

Instantly share code, notes, and snippets.

@Watson1978
Created March 5, 2012 13:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Watson1978/1978307 to your computer and use it in GitHub Desktop.
Save Watson1978/1978307 to your computer and use it in GitHub Desktop.
MacRuby : rubyspec tags for clang
diff --git a/spec/frozen/tags/macruby/core/bignum/div_tags.txt b/spec/frozen/tags/macruby/core/bignum/div_tags.txt
index 7f67bd3..ae96470 100644
--- a/spec/frozen/tags/macruby/core/bignum/div_tags.txt
+++ b/spec/frozen/tags/macruby/core/bignum/div_tags.txt
@@ -1 +1,2 @@
+critical:Bignum#div returns self divided by other
fails:Bignum#div raises ZeroDivisionError if the argument is Float zero
diff --git a/spec/frozen/tags/macruby/core/bignum/divmod_tags.txt b/spec/frozen/tags/macruby/core/bignum/divmod_tags.txt
index e69de29..7ad6718 100644
--- a/spec/frozen/tags/macruby/core/bignum/divmod_tags.txt
+++ b/spec/frozen/tags/macruby/core/bignum/divmod_tags.txt
@@ -0,0 +1 @@
+critical:Bignum#divmod returns an Array containing quotient and modulus obtained from dividing self by the given argument
diff --git a/spec/frozen/tags/macruby/library/bigdecimal/ceil_tags.txt b/spec/frozen/tags/macruby/library/bigdecimal/ceil_tags.txt
index e69de29..e964a0d 100644
--- a/spec/frozen/tags/macruby/library/bigdecimal/ceil_tags.txt
+++ b/spec/frozen/tags/macruby/library/bigdecimal/ceil_tags.txt
@@ -0,0 +1 @@
+critical:BigDecimal#ceil returns the smallest integer greater or equal to self, if n is unspecified
diff --git a/spec/frozen/tags/macruby/library/bigdecimal/divmod_tags.txt b/spec/frozen/tags/macruby/library/bigdecimal/divmod_tags.txt
index e69de29..15069aa 100644
--- a/spec/frozen/tags/macruby/library/bigdecimal/divmod_tags.txt
+++ b/spec/frozen/tags/macruby/library/bigdecimal/divmod_tags.txt
@@ -0,0 +1 @@
+critical:BigDecimal#divmod Can be reversed with * and +
diff --git a/spec/frozen/tags/macruby/library/bigdecimal/floor_tags.txt b/spec/frozen/tags/macruby/library/bigdecimal/floor_tags.txt
index e69de29..08426f0 100644
--- a/spec/frozen/tags/macruby/library/bigdecimal/floor_tags.txt
+++ b/spec/frozen/tags/macruby/library/bigdecimal/floor_tags.txt
@@ -0,0 +1 @@
+critical:BigDecimal#floor returns the greatest integer smaller or equal to self
diff --git a/spec/frozen/tags/macruby/library/bigdecimal/remainder_tags.txt b/spec/frozen/tags/macruby/library/bigdecimal/remainder_tags.txt
index e69de29..7e8e448 100644
--- a/spec/frozen/tags/macruby/library/bigdecimal/remainder_tags.txt
+++ b/spec/frozen/tags/macruby/library/bigdecimal/remainder_tags.txt
@@ -0,0 +1 @@
+critical:BigDecimal#remainder means self-arg*(self/arg).truncate
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment