class C::NodeList
Modify the NodeArray and NodeChain lists to output correct code when printed to a file.
Public Instance Methods
to_s()
click to toggle source
Modify the βto_sβ method to output correct code when printed to a file. Originally, it would separate instances of the list with a β,β. Instead, a newline command is added.
# File lib/castaddon.rb 26 def to_s 27 self.join("\n") 28 end