lib/unparser/adamantium/method_builder.rb in unparser-0.6.0 vs lib/unparser/adamantium/method_builder.rb in unparser-0.6.1
- old
+ new
@@ -99,10 +99,11 @@
end
def visibility
if @descendant.private_method_defined?(@method_name) then :private
elsif @descendant.protected_method_defined?(@method_name) then :protected
- else :public
+ else
+ :public
end
end
end # MethodBuilder
end # Adamantium