lib/runit-man/service_info.rb in runit-man-1.6.3 vs lib/runit-man/service_info.rb in runit-man-1.6.4

- old
+ new

@@ -5,15 +5,15 @@ def initialize(a_name) @name = a_name end - def to_json + def to_json(*a) data = {} [ :name, :stat, :active?, :logged?, :switchable?, :run?, :pid, :log_pid, :log_file_location ].each do |sym| data[sym] = send(sym) end - data.to_json + data.to_json(*a) end def logged? File.directory?(log_supervise_folder) end