Sha256: ed724154a925b0ec81c6f4b3436371328d3821f4bf818ae6a52f9c06c038893a

Contents?: true

Size: 225 Bytes

Versions: 14

Compression:

Stored size: 225 Bytes

Contents

module Rbexy
  module Nodes
    class HTMLAttr < AbstractAttr
      def precompile
        [
          Raw.new(" #{name}=\""),
          value.precompile,
          Raw.new("\"")
        ].flatten
      end
    end
  end
end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
rbexy-2.0.0.rc5 lib/rbexy/nodes/html_attr.rb
rbexy-2.0.0.rc4 lib/rbexy/nodes/html_attr.rb
rbexy-2.0.0.rc3 lib/rbexy/nodes/html_attr.rb
rbexy-2.0.0.rc2 lib/rbexy/nodes/html_attr.rb
rbexy-2.0.0.rc1 lib/rbexy/nodes/html_attr.rb
rbexy-2.0.0.beta9 lib/rbexy/nodes/html_attr.rb
rbexy-2.0.0.beta8 lib/rbexy/nodes/html_attr.rb
rbexy-2.0.0.beta7 lib/rbexy/nodes/html_attr.rb
rbexy-2.0.0.beta6 lib/rbexy/nodes/html_attr.rb
rbexy-2.0.0.beta5 lib/rbexy/nodes/html_attr.rb
rbexy-2.0.0.beta4 lib/rbexy/nodes/html_attr.rb
rbexy-2.0.0.beta3 lib/rbexy/nodes/html_attr.rb
rbexy-2.0.0.beta2 lib/rbexy/nodes/html_attr.rb
rbexy-2.0.0.beta1 lib/rbexy/nodes/html_attr.rb