Class: Xmldsig::Transforms::Transform
- Inherits:
-
Object
- Object
- Xmldsig::Transforms::Transform
- Defined in:
- lib/xmldsig/transforms/transform.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#node ⇒ Object
Returns the value of attribute node.
-
#transform_node ⇒ Object
Returns the value of attribute transform_node.
-
#with_comments ⇒ Object
Returns the value of attribute with_comments.
Instance Method Summary collapse
-
#initialize(node, transform_node, with_comments = false) ⇒ Transform
constructor
A new instance of Transform.
- #transform ⇒ Object
Constructor Details
#initialize(node, transform_node, with_comments = false) ⇒ Transform
Returns a new instance of Transform.
7 8 9 10 11 |
# File 'lib/xmldsig/transforms/transform.rb', line 7 def initialize(node, transform_node, with_comments = false) @node = node @transform_node = transform_node @with_comments = with_comments end |
Instance Attribute Details
#node ⇒ Object
Returns the value of attribute node.
5 6 7 |
# File 'lib/xmldsig/transforms/transform.rb', line 5 def node @node end |
#transform_node ⇒ Object
Returns the value of attribute transform_node.
5 6 7 |
# File 'lib/xmldsig/transforms/transform.rb', line 5 def transform_node @transform_node end |
#with_comments ⇒ Object
Returns the value of attribute with_comments.
5 6 7 |
# File 'lib/xmldsig/transforms/transform.rb', line 5 def with_comments @with_comments end |
Instance Method Details
#transform ⇒ Object
13 14 15 16 |
# File 'lib/xmldsig/transforms/transform.rb', line 13 def transform warn("Transform called but not implemented!") self end |