Class: String

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

Overview

The net-ldap gem uses String#to_a. In Ruby 1.9.x this needs to be String.lines.to_a, but I have to monkey patch this in for things to work.

Instance Method Summary collapse

Instance Method Details

#to_aObject



6
7
8
# File 'lib/radum.rb', line 6

def to_a
  self.lines.to_a
end