Skip to content

Commit a1c98d8

Browse files
committed
Merge pull request #97 from nerab/patch-1
Update respond_to? for Ruby 2.0
2 parents 5fd242c + 38716a2 commit a1c98d8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/net/ldap/entry.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ def to_ldif
147147
Net::LDAP::Dataset.from_entry(self).to_ldif_string
148148
end
149149

150-
def respond_to?(sym) #:nodoc:
150+
def respond_to?(sym, include_all = false) #:nodoc:
151151
return true if valid_attribute?(self.class.attribute_name(sym))
152152
return super
153153
end

0 commit comments

Comments
 (0)