Class: Istat::Frames::Base Abstract
- Inherits:
-
Object
- Object
- Istat::Frames::Base
- Defined in:
- lib/istat/frames/base.rb
Overview
This class is abstract.
This class handles basic xml actions and content parsing for the frames
Constant Summary collapse
- DOCTYPE =
xml doytype style header
"<?xml version=\"1.0\" encoding=\"UTF-8\"?>".freeze
Instance Method Summary collapse
-
#initialize(xml_str) ⇒ Base
constructor
creates a frame based on the passed xml string.
-
#to_s ⇒ String
serialize the frame (as xml).
Constructor Details
Instance Method Details
#to_s ⇒ String
serialize the frame (as xml)
39 40 41 |
# File 'lib/istat/frames/base.rb', line 39 def to_s @doc.to_s end |