lib/yard/handlers/ruby/class_variable_handler.rb in yard-0.5.3 vs lib/yard/handlers/ruby/class_variable_handler.rb in yard-0.5.4

- old
+ new

@@ -1,9 +1,9 @@ class YARD::Handlers::Ruby::ClassVariableHandler < YARD::Handlers::Ruby::Base namespace_only handles :assign - def process + process do if statement[0].type == :var_field && statement[0][0].type == :cvar name = statement[0][0][0] value = statement[1].source register ClassVariableObject.new(namespace, name) do |o| o.source = statement \ No newline at end of file