Exception: ActiveSambaLdap::InvalidConfigurationFormatError

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(file, location, detail) ⇒ InvalidConfigurationFormatError

Returns a new instance of InvalidConfigurationFormatError.



87
88
89
90
91
92
93
# File 'lib/active_samba_ldap/base.rb', line 87

def initialize(file, location, detail)
  @file = file
  @location = location
  @detail = detail
  format = _("found invalid configuration format at %s:%s: %s")
  super(format % [file, location, detail])
end

Instance Attribute Details

#detailObject (readonly)

Returns the value of attribute detail.



86
87
88
# File 'lib/active_samba_ldap/base.rb', line 86

def detail
  @detail
end

#fileObject (readonly)

Returns the value of attribute file.



86
87
88
# File 'lib/active_samba_ldap/base.rb', line 86

def file
  @file
end

#locationObject (readonly)

Returns the value of attribute location.



86
87
88
# File 'lib/active_samba_ldap/base.rb', line 86

def location
  @location
end