Exception: AllGems::GemWorker::DocError
- Defined in:
- lib/allgems/GemWorker.rb
Overview
Exception class for failed documentation creation
Instance Attribute Summary collapse
-
#gem_name ⇒ Object
readonly
Returns the value of attribute gem_name.
-
#gem_version ⇒ Object
readonly
Returns the value of attribute gem_version.
Attributes inherited from Error
Instance Method Summary collapse
-
#initialize(gn, gv, e = nil) ⇒ DocError
constructor
A new instance of DocError.
- #to_s ⇒ Object
Constructor Details
#initialize(gn, gv, e = nil) ⇒ DocError
Returns a new instance of DocError.
204 205 206 207 208 |
# File 'lib/allgems/GemWorker.rb', line 204 def initialize(gn, gv, e=nil) super(e) @gem_name = gn @gem_version = gv end |
Instance Attribute Details
#gem_name ⇒ Object (readonly)
Returns the value of attribute gem_name.
203 204 205 |
# File 'lib/allgems/GemWorker.rb', line 203 def gem_name @gem_name end |
#gem_version ⇒ Object (readonly)
Returns the value of attribute gem_version.
203 204 205 |
# File 'lib/allgems/GemWorker.rb', line 203 def gem_version @gem_version end |
Instance Method Details
#to_s ⇒ Object
209 210 211 |
# File 'lib/allgems/GemWorker.rb', line 209 def to_s "Failed to create documentation for: #{@gem_name}-#{@gem_version}." end |