Class: AutoC::Code
Overview
Helper class to represent plain C side code block
Direct Known Subclasses
Constant Summary
Constants included from Entity
Instance Method Summary collapse
-
#initialize(interface: nil, implementation: nil, definitions: nil) ⇒ Code
constructor
A new instance of Code.
- #inspect ⇒ Object
Methods included from Entity
#<=>, #complexity, #dependencies, #forward_declarations, #implementation, #interface, #position, #references, #total_dependencies, #total_references
Constructor Details
#initialize(interface: nil, implementation: nil, definitions: nil) ⇒ Code
Returns a new instance of Code.
404 405 406 407 408 |
# File 'lib/autoc/module.rb', line 404 def initialize(interface: nil, implementation: nil, definitions: nil) @interface_ = interface @definitions_ = definitions @implementation_ = implementation end |
Instance Method Details
#inspect ⇒ Object
410 |
# File 'lib/autoc/module.rb', line 410 def inspect = "... <#{self.class}>" |