Class: Saxon::XSLT::StaticContext
- Inherits:
-
Object
- Object
- Saxon::XSLT::StaticContext
- Includes:
- Common
- Defined in:
- lib/saxon/xslt/static_context.rb
Overview
Represents the static context for an XSLT compiler. StaticContexts are immutable.
Defined Under Namespace
Instance Attribute Summary collapse
-
#default_collation ⇒ Object
readonly
Returns the value of attribute default_collation.
Class Method Summary collapse
-
.define(block) ⇒ Saxon::XSLT::StaticContext
Executes the Proc/lambda passed in with a new instance of StaticContext as
self, allowing the DSL methods to be called in a DSL-ish way.
Instance Method Summary collapse
Methods included from Common
Instance Attribute Details
#default_collation ⇒ Object (readonly)
Returns the value of attribute default_collation.
62 63 64 |
# File 'lib/saxon/xslt/static_context.rb', line 62 def default_collation @default_collation end |
Class Method Details
.define(block) ⇒ Saxon::XSLT::StaticContext
Executes the Proc/lambda passed in with a new instance of Saxon::XSLT::StaticContext as self, allowing the DSL methods to be called in a DSL-ish way
58 59 60 |
# File 'lib/saxon/xslt/static_context.rb', line 58 def self.define(block) DSL.define(block) end |
Instance Method Details
#define(block) ⇒ Object
64 65 66 |
# File 'lib/saxon/xslt/static_context.rb', line 64 def define(block) DSL.define(block, args_hash) end |