Skip to content

Commit b808b6d

Browse files
committed
Fix RuboCop style offense in railtie require
1 parent 17ca2da commit b808b6d

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

lib/ruby_llm.rb

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,4 @@ def logger
107107
RubyLLM::Provider.register :vertexai, RubyLLM::Providers::VertexAI
108108
RubyLLM::Provider.register :xai, RubyLLM::Providers::XAI
109109

110-
if defined?(Rails::Railtie)
111-
require 'ruby_llm/railtie'
112-
end
110+
require 'ruby_llm/railtie' if defined?(Rails::Railtie)

0 commit comments

Comments
 (0)