Sha256: 8b6c44ea67173e4dd9418b8acedd5ca0febc84bdbeaed8744085be573d8abca7
Contents?: true
Size: 500 Bytes
Versions: 19
Compression:
Stored size: 500 Bytes
Contents
# frozen_string_literal: true require "rubocop" require "rfix/log" module Rfix include Log attr_accessor :repo attr_accessor :test alias test? test def global_enable! @global_enable = true end def global_enable? @global_enable end def refresh!(source) return true if global_enable? repo.refresh!(source.file_path) end def enabled?(path, line) return true if global_enable? repo.include?(path, line) end end # rubocop:enable Layout/LineLength
Version data entries
19 entries across 19 versions & 1 rubygems