Exception: StratagemError
Direct Known Subclasses
CrawlError, Stratagem::AutoMock::MockError, Stratagem::Crawler::CrawlError
Instance Attribute Summary collapse
-
#target ⇒ Object
Returns the value of attribute target.
Instance Method Summary collapse
-
#initialize(*args) ⇒ StratagemError
constructor
A new instance of StratagemError.
Constructor Details
#initialize(*args) ⇒ StratagemError
Returns a new instance of StratagemError.
7 8 9 10 |
# File 'lib/stratagem.rb', line 7 def initialize(*args) super(args.first) (@@all ||= []) << self end |
Instance Attribute Details
#target ⇒ Object
Returns the value of attribute target.
5 6 7 |
# File 'lib/stratagem.rb', line 5 def target @target end |