Module: Lumise

Defined in:
lib/lumise/l.rb,
lib/lumise.rb,
lib/lumise/cli.rb,
lib/lumise/error.rb,
lib/lumise/logger.rb,
lib/lumise/command.rb,
lib/lumise/version.rb,
lib/lumise/commands.rb,
lib/lumise/which/curl.rb,
lib/lumise/configurations.rb,
lib/lumise/commands/rubocop.rb,
lib/lumise/services/commands/rubocop/repo_files.rb,
lib/lumise/services/commands/rubocop/update_gems.rb,
lib/lumise/services/commands/rubocop/update_todo.rb,
lib/lumise/services/commands/rubocop/update_files.rb

Overview

typed: strict frozen_string_literal: true

Defined Under Namespace

Modules: Commands, L, Which Classes: CLI, Command, Configurations, Error, Logger

Constant Summary collapse

VERSION =
'0.2.1'

Class Method Summary collapse

Class Method Details

.config {|Lumise::Configurations.instance| ... } ⇒ Object

Yields:



32
33
34
# File 'lib/lumise.rb', line 32

def self.config(&_blk)
  yield Lumise::Configurations.instance
end

.load_dotfileObject



36
37
38
39
40
41
42
# File 'lib/lumise.rb', line 36

def self.load_dotfile
  $LOAD_PATH.unshift File.join(File.dirname(__FILE__))
  load '.lumise'
  Logger.new.success 'loaded .lumise file'
rescue LoadError
  Logger.new.error 'There was an error loading .lumise file'
end