diff options
Diffstat (limited to 'lib/nlp_ruby/misc.rb')
-rw-r--r-- | lib/nlp_ruby/misc.rb | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/nlp_ruby/misc.rb b/lib/nlp_ruby/misc.rb new file mode 100644 index 0000000..9a4064f --- /dev/null +++ b/lib/nlp_ruby/misc.rb @@ -0,0 +1,6 @@ +class Array + def max_index + self.index(self.max) + end +end + |