Exception: CompilationError
- Inherits:
-
RuntimeError
- Object
- RuntimeError
- CompilationError
- Defined in:
- lib/ffi/inline/error.rb
Overview
–
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
Version 2, December 2004
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
-
You just DO WHAT THE FUCK YOU WANT TO.
++
Instance Method Summary collapse
-
#initialize(path) ⇒ CompilationError
constructor
A new instance of CompilationError.
- #log ⇒ Object
Constructor Details
#initialize(path) ⇒ CompilationError
Returns a new instance of CompilationError.
12 13 14 15 16 |
# File 'lib/ffi/inline/error.rb', line 12 def initialize (path) @path = path super "compile error: see logs at #{@path}" end |
Instance Method Details
#log ⇒ Object
18 19 20 |
# File 'lib/ffi/inline/error.rb', line 18 def log File.read(@path) end |