Class: SFRP::Low::Macro

Inherits:
Element show all
Defined in:
lib/sfrp/low/element.rb

Instance Method Summary collapse

Methods inherited from Element

#to_s

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_codeObject



101
102
103
# File 'lib/sfrp/low/element.rb', line 101

def pretty_code
  "#define #{@str}"
end