Class: SFRP::Low::Member
Instance Method Summary collapse
-
#initialize(str) ⇒ Member
constructor
A new instance of Member.
- #pretty_code(indent = 0) ⇒ Object
Methods inherited from Element
Constructor Details
#initialize(str) ⇒ Member
Returns a new instance of Member.
87 88 89 |
# File 'lib/sfrp/low/element.rb', line 87 def initialize(str) @str = str end |
Instance Method Details
#pretty_code(indent = 0) ⇒ Object
91 92 93 |
# File 'lib/sfrp/low/element.rb', line 91 def pretty_code(indent = 0) ' ' * indent + @str + ';' end |