Exception: ActiveSambaLdap::NotSambaAavialableError

Inherits:
Error
  • Object
show all
Defined in:
lib/active_samba_ldap/base.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from GetTextSupport

included

Constructor Details

#initialize(object) ⇒ NotSambaAavialableError

Returns a new instance of NotSambaAavialableError.



109
110
111
112
# File 'lib/active_samba_ldap/base.rb', line 109

def initialize(object)
  @object = object
  super(_("%s is not Samba available") % [object.inspect])
end

Instance Attribute Details

#objectObject (readonly)

Returns the value of attribute object.



108
109
110
# File 'lib/active_samba_ldap/base.rb', line 108

def object
  @object
end