lib/ethon/extensions/string.rb in ethon-0.0.2 vs lib/ethon/extensions/string.rb in ethon-0.0.3
- old
+ new
@@ -1,7 +1,14 @@
module Ethon
+
+ # This module contains all core extensions ethon
+ # needs.
module Extensions
- module String
+ module String # :nodoc:
+
+ # Return part of the string.
+ #
+ # @return [ String ] Part of the string.
def byteslice(*args)
self[*args]
end
end
end