Class: OpenWFE::SimpleExpRepresentation

Inherits:
Object
  • Object
show all
Defined in:
lib/openwfe/expressions/raw.rb

Overview

This class is only present to ensure that OpenWFEru 0.9.17 can read previous (<= 0.9.16) expools.

Instance Method Summary collapse

Instance Method Details

#to_aObject



541
542
543
544
545
546
547
548
549
550
551
552
# File 'lib/openwfe/expressions/raw.rb', line 541

def to_a

    children = @children.collect do |c|
        if c.is_a?(SimpleExpRepresentation)
            c.to_a
        else
            c
        end
    end

    a = [ @name, @attributes, children ]
end