Class: Rubyang::Xpath::FunctionCall
- Inherits:
-
Object
- Object
- Rubyang::Xpath::FunctionCall
- Defined in:
- lib/rubyang/xpath.rb
Constant Summary collapse
- CURRENT =
:current
- LAST =
:last
- POSITION =
'position'
- COUNT =
'count'
- ID =
'id'
- LOCAL_NAME =
'local-name'
- NAMESPACE_URI =
'namespace-uri'
- NAME =
'name'
- STRING =
'string'
- CONCAT =
'concat'
- STARTS_WITH =
'starts-with'
- CONTAINS =
'contains'
- SUBSTRING_BEFORE =
'substring-before'
- SUBSTRING_AFTER =
'substring-after'
- SUBSTRING =
'substring'
- STRING_LENGTH =
'string-length'
- NORMALIZE_SPACE =
'normalize-space'
- TRANSLATE =
'translate'
- BOOLEAN =
'boolean'
- NOT =
'not'
- TRUE =
'true'
- FALSE =
'false'
- LANG =
'lang'
- NUMBER =
'number'
- SUM =
'sum'
- FLOOR =
'floor'
- CEILING =
'ceiling'
- ROUND =
'round'
Instance Attribute Summary collapse
-
#args ⇒ Object
readonly
Returns the value of attribute args.
-
#name ⇒ Object
readonly
Returns the value of attribute name.
Instance Method Summary collapse
-
#initialize(name, args = []) ⇒ FunctionCall
constructor
A new instance of FunctionCall.
Constructor Details
#initialize(name, args = []) ⇒ FunctionCall
Returns a new instance of FunctionCall.
457 458 459 460 |
# File 'lib/rubyang/xpath.rb', line 457 def initialize name, args=[] @name = name @args = args end |
Instance Attribute Details
#args ⇒ Object (readonly)
Returns the value of attribute args.
456 457 458 |
# File 'lib/rubyang/xpath.rb', line 456 def args @args end |
#name ⇒ Object (readonly)
Returns the value of attribute name.
456 457 458 |
# File 'lib/rubyang/xpath.rb', line 456 def name @name end |