class Fuci::Server

Public Instance Methods

build_status() click to toggle source

must return either of the following symbols: :red (failure), :yellow (errored), :green (passing)

# File lib/fuci/server.rb, line 9
def build_status
  raise NotImplementedError
end
fetch_log() click to toggle source

must return a log as as string string with characters denoting ascii color removed

# File lib/fuci/server.rb, line 15
def fetch_log
  raise NotImplementedError
end

Private Instance Methods

remove_ascii_color_chars(string) click to toggle source
# File lib/fuci/server.rb, line 21
def remove_ascii_color_chars string
  string.gsub /\e\[(\d+)m/, ""
end