Class: Mirah::Compiler::CompilerResult
- Inherits:
-
Object
- Object
- Mirah::Compiler::CompilerResult
- Defined in:
- lib/mirah/compiler.rb
Instance Attribute Summary collapse
-
#bytes ⇒ Object
Returns the value of attribute bytes.
-
#classname ⇒ Object
Returns the value of attribute classname.
-
#filename ⇒ Object
Returns the value of attribute filename.
Instance Method Summary collapse
-
#initialize(filename, classname, bytes) ⇒ CompilerResult
constructor
A new instance of CompilerResult.
Constructor Details
#initialize(filename, classname, bytes) ⇒ CompilerResult
Returns a new instance of CompilerResult.
55 56 57 |
# File 'lib/mirah/compiler.rb', line 55 def initialize(filename, classname, bytes) @filename, @classname, @bytes = filename, classname, bytes end |
Instance Attribute Details
#bytes ⇒ Object
Returns the value of attribute bytes.
59 60 61 |
# File 'lib/mirah/compiler.rb', line 59 def bytes @bytes end |
#classname ⇒ Object
Returns the value of attribute classname.
59 60 61 |
# File 'lib/mirah/compiler.rb', line 59 def classname @classname end |
#filename ⇒ Object
Returns the value of attribute filename.
59 60 61 |
# File 'lib/mirah/compiler.rb', line 59 def filename @filename end |