Class: String

Inherits:
Object
  • Object
show all
Defined in:
lib/muddyit_fu.rb

Overview

Fix for broken oauth gem

Instance Method Summary collapse

Instance Method Details

#bytesObject



31
32
33
34
# File 'lib/muddyit_fu.rb', line 31

def bytes
  require 'enumerator'
  Enumerable::Enumerator.new(self, :each_byte)
end

#bytesizeObject



25
26
27
# File 'lib/muddyit_fu.rb', line 25

def bytesize
  self.size
end