Sha256: 32903734ec157d4f518ba03d31e9553532f6618ab2d3b59863d275810dffd797
Contents?: true
Size: 508 Bytes
Versions: 16
Compression:
Stored size: 508 Bytes
Contents
require 'glimmer/dsl/xml/node_parent_expression' require 'glimmer/dsl/expression' require 'glimmer/xml/node' module Glimmer module DSL module XML class XmlExpression < Expression include NodeParentExpression def can_interpret?(parent, keyword, *args, &block) parent.is_a?(Glimmer::XML::Node) end def interpret(parent, keyword, *args, &block) Glimmer::XML::Node.new(parent, keyword.to_s, args, &block) end end end end end
Version data entries
16 entries across 16 versions & 3 rubygems