Apply a minor style fix to generated source for Node class
authorGreg Hurrell <greg@hurrell.net>
Mon, 20 Oct 2014 14:53:44 +0000 (07:53 -0700)
committerGreg Hurrell <greg@hurrell.net>
Mon, 20 Oct 2014 15:12:42 +0000 (08:12 -0700)
lib/walrat/node.rb

index e0e6a22a44f4f422f22ac26438ee0441a81cc70a..f5502c32997086cd67d0e599d7ead9d7bfe5da7c 100755 (executable)
@@ -31,7 +31,7 @@ module Walrat
       results.each { |result| attr_reader result }
 
       # set up initializer
-      initialize_body = "def initialize #{results.map { |symbol| symbol.to_s}.join(', ')}\n"
+      initialize_body = "def initialize #{results.map { |symbol| symbol.to_s }.join(', ')}\n"
       initialize_body << %Q{  @string_value = ""\n}
       results.each do |result|
         initialize_body << "  @#{result} = #{result}\n"