diff options
| author | Seba Gamboa <[email protected]> | 2015-10-14 14:37:47 -0300 |
|---|---|---|
| committer | Seba Gamboa <[email protected]> | 2015-10-20 12:16:47 -0300 |
| commit | 5cdcce8dbddd94ecb9503a0a1d47370c4ef97177 (patch) | |
| tree | 07dae36bc4e2762a8d420fbea2e67b4a087ea260 /mrbgems/mruby-numeric-ext | |
| parent | 84b70886cd9827593810264bf1f068044d5c6986 (diff) | |
| download | mruby-5cdcce8dbddd94ecb9503a0a1d47370c4ef97177.tar.gz mruby-5cdcce8dbddd94ecb9503a0a1d47370c4ef97177.zip | |
Mark core gems with mrbgem tag
Diffstat (limited to 'mrbgems/mruby-numeric-ext')
| -rw-r--r-- | mrbgems/mruby-numeric-ext/mrblib/numeric_ext.rb | 3 | ||||
| -rw-r--r-- | mrbgems/mruby-numeric-ext/src/numeric_ext.c | 3 |
2 files changed, 6 insertions, 0 deletions
diff --git a/mrbgems/mruby-numeric-ext/mrblib/numeric_ext.rb b/mrbgems/mruby-numeric-ext/mrblib/numeric_ext.rb index dfc6ba87c..9cd76fd3f 100644 --- a/mrbgems/mruby-numeric-ext/mrblib/numeric_ext.rb +++ b/mrbgems/mruby-numeric-ext/mrblib/numeric_ext.rb @@ -1,5 +1,8 @@ module Integral + + # @mrbgem mruby-numeric-ext def div(other) self.divmod(other)[0] end + end diff --git a/mrbgems/mruby-numeric-ext/src/numeric_ext.c b/mrbgems/mruby-numeric-ext/src/numeric_ext.c index 22c1668fa..fc35c5329 100644 --- a/mrbgems/mruby-numeric-ext/src/numeric_ext.c +++ b/mrbgems/mruby-numeric-ext/src/numeric_ext.c @@ -1,6 +1,9 @@ #include <limits.h> #include "mruby.h" +/** + * @mrbgem mruby-numeric-ext + */ static mrb_value mrb_int_chr(mrb_state *mrb, mrb_value x) { |
