Sha256: 4b0e996b98dae8accd4b54e9c9f7ccaab2adb4406e2ada527553b7bc20495a32
Contents?: true
Size: 943 Bytes
Versions: 7
Compression:
Stored size: 943 Bytes
Contents
# frozen_string_literal: true module Synvert::Core # Synvert global configuration. class Configuration class << self # @!attribute [w] root_path # @!attribute [w] skip_paths # @!attribute [w] only_paths # @!attribute [w] show_run_process attr_writer :root_path, :skip_paths, :only_paths, :show_run_process # Get the path. # # @return [String] default is '.' def root_path @root_path || '.' end # Get a list of skip paths. # # @return [Array<String>] default is []. def skip_paths @skip_paths || [] end # Get a list of only paths. # # @return [Array<String>] default is []. def only_paths @only_paths || [] end # Check if show run process. # # @return [Boolean] default is false def show_run_process @show_run_process || false end end end end
Version data entries
7 entries across 7 versions & 1 rubygems