Class: Xmldsig::Transforms::Transform

Inherits:
Object
  • Object
show all
Defined in:
lib/xmldsig/transforms/transform.rb

Direct Known Subclasses

Canonicalize, EnvelopedSignature

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#nodeObject

Returns the value of attribute node.



5
6
7
# File 'lib/xmldsig/transforms/transform.rb', line 5

def node
  @node
end

#transform_nodeObject

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_commentsObject

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

#transformObject



13
14
15
16
# File 'lib/xmldsig/transforms/transform.rb', line 13

def transform
  warn("Transform called but not implemented!")
  self
end