Exception: MatchedConceptUnpublished

Inherits:
ArgumentError
  • Object
show all
Defined in:
app/exceptions/matched_concept_unpublished.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(msg, original = $!) ⇒ MatchedConceptUnpublished

Returns a new instance of MatchedConceptUnpublished.



3
4
5
6
# File 'app/exceptions/matched_concept_unpublished.rb', line 3

def initialize(msg, original = $!)
  super(msg)
  @original = original;
end

Instance Attribute Details

#originalObject (readonly)

Returns the value of attribute original.



2
3
4
# File 'app/exceptions/matched_concept_unpublished.rb', line 2

def original
  @original
end