Exception: EMF::UnexistingFeature

Inherits:
Exception
  • Object
show all
Defined in:
lib/emf/exceptions.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(feat_name) ⇒ UnexistingFeature

Returns a new instance of UnexistingFeature.



13
14
15
# File 'lib/emf/exceptions.rb', line 13

def initialize(feat_name)
  @feat_name = feat_name
end

Instance Attribute Details

#feat_nameObject (readonly)

Returns the value of attribute feat_name.



12
13
14
# File 'lib/emf/exceptions.rb', line 12

def feat_name
  @feat_name
end

Instance Method Details

#to_sObject



16
17
18
# File 'lib/emf/exceptions.rb', line 16

def to_s
  "UnexistingFeature: '#{@feat_name}'"
end