Class: RgGen::VerilogUtility::Declaration
- Inherits:
-
Object
- Object
- RgGen::VerilogUtility::Declaration
- Defined in:
- lib/rggen/core_components/verilog_utility/declaration.rb
Instance Method Summary collapse
-
#initialize(declation_type, attributes) ⇒ Declaration
constructor
A new instance of Declaration.
- #to_s ⇒ Object
Constructor Details
#initialize(declation_type, attributes) ⇒ Declaration
Returns a new instance of Declaration.
4 5 6 7 |
# File 'lib/rggen/core_components/verilog_utility/declaration.rb', line 4 def initialize(declation_type, attributes) @declation_type = declation_type @attributes = attributes end |
Instance Method Details
#to_s ⇒ Object
9 10 11 |
# File 'lib/rggen/core_components/verilog_utility/declaration.rb', line 9 def to_s code_snippets.join(' ') end |