Exception: CIM::QualifierScopeError
- Inherits:
-
ArgumentError
- Object
- ArgumentError
- CIM::QualifierScopeError
- Defined in:
- lib/cim/qualifier_scopes.rb
Instance Method Summary collapse
-
#initialize(element, msg = nil) ⇒ QualifierScopeError
constructor
Raised if wrong Scope passed.
- #to_s ⇒ Object
Constructor Details
#initialize(element, msg = nil) ⇒ QualifierScopeError
Raised if wrong Scope passed
16 17 18 19 |
# File 'lib/cim/qualifier_scopes.rb', line 16 def initialize element, msg = nil @element = element super msg end |
Instance Method Details
#to_s ⇒ Object
20 21 22 |
# File 'lib/cim/qualifier_scopes.rb', line 20 def to_s "#{@element} is not a valid meta element for scopes" end |