Exception: CodeRay::NotStreamableError
- Inherits:
-
Exception
- Object
- Exception
- CodeRay::NotStreamableError
- Defined in:
- vendor/plugins/coderay-0.9.2/lib/coderay.rb
Overview
This Exception is raised when you try to stream with something that is not capable of streaming.
Instance Method Summary
-
- (NotStreamableError) initialize(obj)
constructor
A new instance of NotStreamableError.
- - (Object) to_s
Constructor Details
- (NotStreamableError) initialize(obj)
A new instance of NotStreamableError
300 301 302 |
# File 'vendor/plugins/coderay-0.9.2/lib/coderay.rb', line 300 def initialize obj @obj = obj end |
Instance Method Details
- (Object) to_s
304 305 306 |
# File 'vendor/plugins/coderay-0.9.2/lib/coderay.rb', line 304 def to_s '%s is not Streamable!' % @obj.class end |