Class: Esnext::CompileResult
- Inherits:
-
Object
- Object
- Esnext::CompileResult
- Defined in:
- lib/esnext.rb
Instance Attribute Summary collapse
-
#code ⇒ Object
Returns the value of attribute code.
-
#map ⇒ Object
Returns the value of attribute map.
Instance Method Summary collapse
-
#initialize(code, map) ⇒ CompileResult
constructor
A new instance of CompileResult.
Constructor Details
#initialize(code, map) ⇒ CompileResult
Returns a new instance of CompileResult.
38 39 40 41 |
# File 'lib/esnext.rb', line 38 def initialize(code, map) @code = code @map = map end |
Instance Attribute Details
#code ⇒ Object
Returns the value of attribute code.
36 37 38 |
# File 'lib/esnext.rb', line 36 def code @code end |
#map ⇒ Object
Returns the value of attribute map.
36 37 38 |
# File 'lib/esnext.rb', line 36 def map @map end |