Class: SFRP::Low::Macro
Instance Method Summary collapse
-
#initialize(str) ⇒ Macro
constructor
A new instance of Macro.
- #pretty_code ⇒ Object
Methods inherited from Element
Constructor Details
#initialize(str) ⇒ Macro
Returns a new instance of Macro.
97 98 99 |
# File 'lib/sfrp/low/element.rb', line 97 def initialize(str) @str = str end |
Instance Method Details
#pretty_code ⇒ Object
101 102 103 |
# File 'lib/sfrp/low/element.rb', line 101 def pretty_code "#define #{@str}" end |