From b7b38255d3f555c83fd3875f103b3915b1841d56 Mon Sep 17 00:00:00 2001 From: Yorick Peterse Date: Tue, 1 Sep 2015 20:03:56 +0200 Subject: [PATCH] Fixed YARD formatting --- lib/oga/xpath/compiler.rb | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/lib/oga/xpath/compiler.rb b/lib/oga/xpath/compiler.rb index f02abda..a0a4eca 100644 --- a/lib/oga/xpath/compiler.rb +++ b/lib/oga/xpath/compiler.rb @@ -598,21 +598,18 @@ module Oga end # @param [AST::Node] ast - # @param [Oga::Ruby::Node] input # @return [Oga::Ruby::Node] def on_string(ast, *) string(ast.children[0]) end # @param [AST::Node] ast - # @param [Oga::Ruby::Node] input # @return [Oga::Ruby::Node] def on_int(ast, *) literal(ast.children[0].to_f.to_s) end # @param [AST::Node] ast - # @param [Oga::Ruby::Node] input # @return [Oga::Ruby::Node] def on_float(ast, *) literal(ast.children[0].to_s) @@ -745,8 +742,8 @@ module Oga end # @param [Oga::Ruby::Node] input - # @param [AST::Node] haystack_ast - # @param [AST::Node] needle_ast + # @param [AST::Node] haystack + # @param [AST::Node] needle # @return [Oga::Ruby::Node] def on_call_contains(input, haystack, needle) haystack_lit = unique_literal(:haystack)