Skip to content

Commit

Permalink
Coding style
Browse files Browse the repository at this point in the history
  • Loading branch information
n-rodriguez committed Sep 30, 2024
1 parent 8544aa8 commit 4eafc32
Showing 1 changed file with 10 additions and 5 deletions.
15 changes: 10 additions & 5 deletions lib/icinga2.rb
Original file line number Diff line number Diff line change
@@ -1,14 +1,19 @@
# frozen_string_literal: true

# require ruby dependencies
require 'json'

# require external dependencies
require 'faraday'
require 'active_support/core_ext/object/to_query'

require 'zeitwerk'
loader = Zeitwerk::Loader.for_gem
loader.inflector.inflect 'api' => 'API'
loader.inflector.inflect 'version' => 'VERSION'
loader.setup

# load zeitwerk
Zeitwerk::Loader.for_gem.tap do |loader|
loader.inflector.inflect 'api' => 'API'
loader.inflector.inflect 'version' => 'VERSION'
loader.setup
end

module Icinga2
end

0 comments on commit 4eafc32

Please sign in to comment.