Class: Net::LDAP::Dataset::ChompedIO
- Inherits:
-
Object
- Object
- Net::LDAP::Dataset::ChompedIO
- Defined in:
- lib/net/ldap/dataset.rb
Overview
:nodoc:
Instance Method Summary collapse
- #gets ⇒ Object
-
#initialize(io) ⇒ ChompedIO
constructor
A new instance of ChompedIO.
Constructor Details
#initialize(io) ⇒ ChompedIO
Returns a new instance of ChompedIO.
92 93 94 |
# File 'lib/net/ldap/dataset.rb', line 92 def initialize(io) @io = io end |
Instance Method Details
#gets ⇒ Object
95 96 97 98 |
# File 'lib/net/ldap/dataset.rb', line 95 def gets s = @io.gets s.chomp if s end |