Sha256: 8999f6f1a86f8730327c674ecd746d82c1a7bd239cf22135a1fd59a0135d365e
Contents?: true
Size: 528 Bytes
Versions: 26
Compression:
Stored size: 528 Bytes
Contents
# frozen_string_literal: true require 'fileutils' require 'gruff' # This module include provides graph methods used by all monitor status presenters working with graphs module QaServer::MonitorStatus module GruffGraph private def graph_relative_path File.join('qa_server', 'charts') end def graph_full_path(graph_filename) path = Rails.root.join('app', 'assets', 'images', graph_relative_path) FileUtils.mkdir_p path File.join(path, graph_filename) end end end
Version data entries
26 entries across 26 versions & 1 rubygems