Class: String

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

Overview

String::ord is new in 1.9, missing in 1.8

Instance Method Summary (collapse)

Instance Method Details

- (Object) ord



71
72
73
74
# File 'lib/gtk2applib/core_hacks.rb', line 71

def ord
  # [] defined by String
  self[0]
end