Class: Ambition::Adapters::ActiveLdap::Base
- Inherits:
-
Object
- Object
- Ambition::Adapters::ActiveLdap::Base
- Defined in:
- lib/ambition/adapters/active_ldap/base.rb
Direct Known Subclasses
Instance Method Summary collapse
Instance Method Details
#sanitize(object) ⇒ Object
5 6 7 8 9 10 11 |
# File 'lib/ambition/adapters/active_ldap/base.rb', line 5 def sanitize(object) case object when true then 'TRUE' when false then 'FALSE' else object.to_s end end |