lib/yard/handlers/ruby/visibility_handler.rb in yard-0.6.1 vs lib/yard/handlers/ruby/visibility_handler.rb in yard-0.6.2

- old
+ new

@@ -11,10 +11,10 @@ when :var_ref self.visibility = ident.first when :fcall, :command statement[1].traverse do |node| case node.type - when :symbol; source = node.jump(:ident).last + when :symbol; source = node.first.source when :string_content; source = node.source else next end MethodObject.new(namespace, source, scope) {|o| o.visibility = ident.first } end \ No newline at end of file