openai_101 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
data/lib/openai_101.rb ADDED
@@ -0,0 +1,17 @@
1
+ # frozen_string_literal: true
2
+
3
+ require 'openai_101/version'
4
+
5
+ module Openai101
6
+ # raise Openai101::Error, 'Sample message'
7
+ Error = Class.new(StandardError)
8
+
9
+ # Your code goes here...
10
+ end
11
+
12
+ if ENV.fetch('KLUE_DEBUG', 'false').downcase == 'true'
13
+ namespace = 'Openai101::Version'
14
+ file_path = $LOADED_FEATURES.find { |f| f.include?('openai_101/version') }
15
+ version = Openai101::VERSION.ljust(9)
16
+ puts "#{namespace.ljust(35)} : #{version.ljust(9)} : #{file_path}"
17
+ end