Corrected docs for on_call_string().

This commit is contained in:
Yorick Peterse 2014-08-25 23:12:45 +02:00
parent b2ca18e127
commit ba058627f2
1 changed files with 4 additions and 1 deletions

View File

@ -763,9 +763,12 @@ module Oga
# node to a string. If a node set is given then only the first node is # node to a string. If a node set is given then only the first node is
# converted to a string. # converted to a string.
# #
# @example
# string(10) # => "10"
#
# @param [Oga::XML::NodeSet] context # @param [Oga::XML::NodeSet] context
# @param [Oga::XPath::Node] expression # @param [Oga::XPath::Node] expression
# @return [Oga::XML::NodeSet] # @return [String]
# #
def on_call_string(context, expression = nil) def on_call_string(context, expression = nil)
if expression if expression