Class: Kumi::Core::IR::Module
- Inherits:
-
Struct
- Object
- Struct
- Kumi::Core::IR::Module
- Defined in:
- lib/kumi/core/ir.rb
Instance Attribute Summary collapse
-
#decls ⇒ Object
Returns the value of attribute decls.
-
#inputs ⇒ Object
Returns the value of attribute inputs.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Module
constructor
A new instance of Module.
Constructor Details
#initialize(**args) ⇒ Module
Returns a new instance of Module.
20 21 22 23 24 |
# File 'lib/kumi/core/ir.rb', line 20 def initialize(**args) super decls&.each(&:freeze) freeze end |
Instance Attribute Details
#decls ⇒ Object
Returns the value of attribute decls
19 20 21 |
# File 'lib/kumi/core/ir.rb', line 19 def decls @decls end |
#inputs ⇒ Object
Returns the value of attribute inputs
19 20 21 |
# File 'lib/kumi/core/ir.rb', line 19 def inputs @inputs end |