Fixed YARD formatting

This commit is contained in:
Yorick Peterse 2015-09-01 20:03:56 +02:00
parent 94f8ed5421
commit b7b38255d3
1 changed files with 2 additions and 5 deletions

View File

@ -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)