lib/rorvswild/section.rb in rorvswild-1.3.4 vs lib/rorvswild/section.rb in rorvswild-1.3.5

- old
+ new

@@ -57,7 +57,13 @@ end def self_runtime total_runtime - children_runtime end + + COMMAND_MAX_SIZE = 1000 + + def command=(value) + @command = value && value.size > COMMAND_MAX_SIZE ? value[0, COMMAND_MAX_SIZE] + " [TRUNCATED]" : value + end end end