Class: Peck::Event
Instance Attribute Summary collapse
-
#exception ⇒ Object
Returns the value of attribute exception.
-
#spec ⇒ Object
Returns the value of attribute spec.
Instance Method Summary collapse
-
#initialize(exception, spec) ⇒ Event
constructor
A new instance of Event.
Constructor Details
#initialize(exception, spec) ⇒ Event
Returns a new instance of Event.
22 23 24 25 |
# File 'lib/peck/specification.rb', line 22 def initialize(exception, spec) @exception = exception @spec = spec end |