Module: Ethon::Extensions::String

Defined in:
lib/ethon/extensions/string.rb

Overview

:nodoc:

Instance Method Summary collapse

Instance Method Details

#byteslice(*args) ⇒ String

Return part of the string.

Returns:

  • (String)

    Part of the string.



11
12
13
# File 'lib/ethon/extensions/string.rb', line 11

def byteslice(*args)
  self[*args]
end