Class: Rng::ForeignAttribute
- Inherits:
-
Lutaml::Model::Serializable
- Object
- Lutaml::Model::Serializable
- Rng::ForeignAttribute
- Defined in:
- lib/rng/foreign_attribute.rb
Overview
Represents a foreign attribute (from a non-RELAX NG namespace) Used in annotation blocks like [eg:foo = “value”]
Instance Method Summary collapse
-
#initialize(name: nil, namespace: nil, value: nil) ⇒ ForeignAttribute
constructor
A new instance of ForeignAttribute.
Constructor Details
#initialize(name: nil, namespace: nil, value: nil) ⇒ ForeignAttribute
Returns a new instance of ForeignAttribute.
20 21 22 23 24 |
# File 'lib/rng/foreign_attribute.rb', line 20 def initialize(name: nil, namespace: nil, value: nil) @name = name @namespace = namespace @value = value end |