Module: LibXML::XML::XQuery::Version
- Defined in:
- lib/libxml/xquery/version.rb
Constant Summary collapse
- MAJOR =
0
- MINOR =
2
- TINY =
4
Class Method Summary collapse
-
.to_a ⇒ Object
Returns array representation.
-
.to_s ⇒ Object
Short-cut for version string.
Class Method Details
.to_a ⇒ Object
Returns array representation.
16 17 18 |
# File 'lib/libxml/xquery/version.rb', line 16 def to_a [MAJOR, MINOR, TINY] end |
.to_s ⇒ Object
Short-cut for version string.
21 22 23 |
# File 'lib/libxml/xquery/version.rb', line 21 def to_s to_a.join('.') end |