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

#initialize(node) ⇒ Element



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

def initialize(node)
  @source_node = node
end

Instance Attribute Details

#source_nodeObject (readonly)

Returns the value of attribute source_node



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

def source_node
  @source_node
end