class REHTML::Instruction

Attributes

content[R]
target[R]

Public Class Methods

new(target,content) click to toggle source
# File lib/rehtml/elements.rb, line 27
def initialize(target,content)
  @target = target
  @content = content
end

Public Instance Methods

is_xml_decl?() click to toggle source
# File lib/rehtml/elements.rb, line 31
def is_xml_decl?
  target.upcase == 'XML'
end