Exception: ActiveSambaLdap::MissingRequiredVariableError
- Defined in:
- lib/active_samba_ldap/base.rb
Instance Attribute Summary collapse
-
#names ⇒ Object
readonly
Returns the value of attribute names.
Instance Method Summary collapse
-
#initialize(names) ⇒ MissingRequiredVariableError
constructor
A new instance of MissingRequiredVariableError.
- #name ⇒ Object
Methods included from GetTextSupport
Constructor Details
#initialize(names) ⇒ MissingRequiredVariableError
Returns a new instance of MissingRequiredVariableError.
10 11 12 13 14 15 16 |
# File 'lib/active_samba_ldap/base.rb', line 10 def initialize(names) names = names.to_a @names = names super(n_("required variable is not set: %s", "required variables are not set: %s", names.size) % names.join(', ')) end |
Instance Attribute Details
#names ⇒ Object (readonly)
Returns the value of attribute names.
9 10 11 |
# File 'lib/active_samba_ldap/base.rb', line 9 def names @names end |
Instance Method Details
#name ⇒ Object
18 19 20 |
# File 'lib/active_samba_ldap/base.rb', line 18 def name @names.first end |