Module: Saxon::XSLT::StaticContext::Common
- Included in:
- Saxon::XSLT::StaticContext, DSL
- Defined in:
- lib/saxon/xslt/static_context.rb
Overview
methods used by both Saxon::XSLT::StaticContext and DSL
Instance Method Summary collapse
-
#args_hash ⇒ Hash<Symbol => Hash,null>
returns the context details in a hash suitable for initializing a new one.
- #initialize(args = {}) ⇒ Object
Instance Method Details
#args_hash ⇒ Hash<Symbol => Hash,null>
returns the context details in a hash suitable for initializing a new one
17 18 19 20 21 |
# File 'lib/saxon/xslt/static_context.rb', line 17 def args_hash { default_collation: @default_collation } end |
#initialize(args = {}) ⇒ Object
11 12 13 |
# File 'lib/saxon/xslt/static_context.rb', line 11 def initialize(args = {}) @default_collation = args.fetch(:default_collation, nil).freeze end |