module Xmlenc::Builder::Base::XmlMapperInstanceMethods

Public Class Methods

new(attributes = {}) click to toggle source
# File lib/xmlenc/builder/base.rb, line 17
def initialize(attributes = {})
  attributes.each do |key, value|
    send("#{key}=", value) if respond_to?("#{key}=") && value.present?
  end
end

Public Instance Methods

from_xml=(bool) click to toggle source
# File lib/xmlenc/builder/base.rb, line 23
def from_xml=(bool)
  @from_xml = bool
end
from_xml?() click to toggle source
# File lib/xmlenc/builder/base.rb, line 27
def from_xml?
  @from_xml
end