stdouttoggler 1.0.2 → 1.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/lib/stdouttoggler.rb +1 -14
- data/stdouttoggler.gemspec +1 -1
- metadata +1 -1
data/lib/stdouttoggler.rb
CHANGED
|
@@ -7,17 +7,4 @@
|
|
|
7
7
|
# above copyright notice is included.
|
|
8
8
|
##############################################################
|
|
9
9
|
|
|
10
|
-
require 'stdouttoggler/application.rb'
|
|
11
|
-
require 'pathname'
|
|
12
|
-
|
|
13
|
-
#Application namespace
|
|
14
|
-
module StdOutToggler
|
|
15
|
-
#returns the name of the executable file
|
|
16
|
-
def self.executable
|
|
17
|
-
exec_name = ""
|
|
18
|
-
Pathname.glob("bin/*") do |f|
|
|
19
|
-
exec_name = File.basename(f)
|
|
20
|
-
end
|
|
21
|
-
exec_name
|
|
22
|
-
end
|
|
23
|
-
end
|
|
10
|
+
require 'stdouttoggler/application.rb'
|
data/stdouttoggler.gemspec
CHANGED