lib/yard/globals.rb in yard-0.6.8 vs lib/yard/globals.rb in yard-0.7.0
- old
+ new
@@ -1,17 +1,17 @@
# @group Global Convenience Methods
# Shortcut for creating a YARD::CodeObjects::Proxy via a path
-#
+#
# @see YARD::CodeObjects::Proxy
# @see YARD::Registry.resolve
def P(namespace, name = nil)
namespace, name = nil, namespace if name.nil?
YARD::Registry.resolve(namespace, name, false, true)
end
# The global {YARD::Logger} instance
-#
+#
# @return [YARD::Logger] the global {YARD::Logger} instance
# @see YARD::Logger
def log
YARD::Logger.instance
end