appydave-tools 0.0.2

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