Sha256: 9e82deca1f98bc84b7194bea0eab5e89630f84b22e440043e8ad3cdd67de9d11
Contents?: true
Size: 356 Bytes
Versions: 33
Compression:
Stored size: 356 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
33 entries across 33 versions & 2 rubygems