Class: VAST::Element

Inherits:
Object
  • Object
show all
Defined in:
lib/vast/element.rb

Direct Known Subclasses

Ad, Creative, Extension, Mediafile

Instance Attribute Summary (collapse)

Instance Method Summary (collapse)

Constructor Details

- (Element) initialize(node)

Returns a new instance of Element



5
6
7
# File 'lib/vast/element.rb', line 5

def initialize(node)
  @source_node = node
end

Instance Attribute Details

- (Object) source_node (readonly)

Returns the value of attribute source_node



3
4
5
# File 'lib/vast/element.rb', line 3

def source_node
  @source_node
end