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.
403 404 405 406 407 |
# File 'lib/autoc/module.rb', line 403 def initialize(interface: nil, implementation: nil, definitions: nil) @interface_ = interface @definitions_ = definitions @implementation_ = implementation end |
Instance Method Details
#inspect ⇒ Object
409 |
# File 'lib/autoc/module.rb', line 409 def inspect = "... <#{self.class}>" |