wrap_in_module 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/wrap_in_module/version.rb +1 -1
- data/lib/wrap_in_module.rb +3 -3
- metadata +1 -1
data/lib/wrap_in_module.rb
CHANGED
@@ -106,9 +106,9 @@ module WrapInModule
|
|
106
106
|
end
|
107
107
|
end
|
108
108
|
|
109
|
-
def to_s # :nodoc:
|
110
|
-
|
111
|
-
end
|
109
|
+
# def to_s # :nodoc:
|
110
|
+
# "#<#{self.class}:#{File.join(__dir, File.basename(__main_file))}>"
|
111
|
+
# end
|
112
112
|
|
113
113
|
module ScriptModuleMethods
|
114
114
|
# This is so that <tt>def meth...</tt> behaves like in Ruby's top-level
|