Sha256: 1cc087abfdbe96f503528baf15ac391d56d08ebf150e31e81ac4557ce2f01d79
Contents?: true
Size: 355 Bytes
Versions: 7
Compression:
Stored size: 355 Bytes
Contents
# frozen_string_literal: true require 'launchy' module RubyCritic class Browser attr_reader :report_path def initialize(report_path) @report_path = report_path end def open Launchy.open(report_path) do |exception| puts "Attempted to open #{report_path} and failed because #{exception}" end end end end
Version data entries
7 entries across 7 versions & 1 rubygems