Class: SFRP::Low::Typedef
Instance Method Summary collapse
-
#initialize(str) ⇒ Typedef
constructor
A new instance of Typedef.
- #pretty_code ⇒ Object
Methods inherited from Element
Constructor Details
#initialize(str) ⇒ Typedef
Returns a new instance of Typedef.
107 108 109 |
# File 'lib/sfrp/low/element.rb', line 107 def initialize(str) @str = str end |
Instance Method Details
#pretty_code ⇒ Object
111 112 113 |
# File 'lib/sfrp/low/element.rb', line 111 def pretty_code "typedef #{@str};" end |