Class: LibXML::XML::Attr

Inherits:
Object
  • Object
show all
Defined in:
lib/libxml/xquery/string_representation.rb

Overview

#

A component of ruby-xquery, mimicking XQuery in Ruby. #

#

Copyright © 2007-2008 Jens Wille #

#

Authors: #

Jens Wille <[email protected]>                                    #
                                                                        #

ruby-xquery is free software; you can redistribute it and/or modify it # under the terms of the GNU General Public License as published by the Free # Software Foundation; either version 3 of the License, or (at your option) # any later version. #

#

ruby-xquery is distributed in the hope that it will be useful, but WITHOUT # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or # FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for # more details. #

#

You should have received a copy of the GNU General Public License along # with ruby-xquery. If not, see <www.gnu.org/licenses/>. #

#

++

Instance Method Summary collapse

Instance Method Details

#to_s(sep = nil) ⇒ Object



29
30
31
# File 'lib/libxml/xquery/string_representation.rb', line 29

def to_s(sep = nil)
  value.strip
end