Sha256: 8dd82415e1805db544228bc9d6fb6ced240a01a95b1f7b2f78e5caf410e0ac94

Contents?: true

Size: 265 Bytes

Versions: 1

Compression:

Stored size: 265 Bytes

Contents

module Rocx
  module Properties
    class ComplexProperty < BaseProperty

      def to_xml(xml)
        return unless render?
        xml["w"].public_send(tag, xml_attributes)
      end

      def render?
        !xml_attributes.empty?
      end

    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rocx-0.5.8 lib/rocx/properties/complex_property.rb