class Copper::CopperNode

Copper parser node with helper methods for cleaning.

Protected Instance Methods

console(text) click to toggle source
# File lib/copper/copper_node.rb, line 7
def console(text)
        text = text.to_s if text.respond_to?(:to_s)
        puts "[DEBUG] #{self.class.name} ==> #{text} (#{text.class.name})" if $debug
end
factory(poro) click to toggle source
# File lib/copper/copper_node.rb, line 12
def factory(poro)
        return ::Copper::DataTypes::DataType.factory(poro)
end