def define(node)
      # Write out def method_name
      definition = "def _opulent_definition_#{node[@value].to_s.tr '-', '_'}"

      # Node attributes
      parameters = []
      node[@options][:parameters].each do |key, value|
        parameters << "#{key} = #{value[@value]}"
      end
      parameters << 'attributes = {}'
      parameters << 'indent'
      parameters << '&block'
      definition += '(' + parameters.join(', ') + ')'

      buffer_eval 'instance_eval do'
      buffer_eval definition

      @in_definition = true
      node[@children].each do |child|
        root child, 0
      end
      @in_definition = false

      buffer_eval 'end'
      buffer_eval 'end'
    end
def define(node)
      # Write out def method_name
      definition = "def _opulent_definition_#{node[@value].to_s.tr '-', '_'}"

      # Node attributes
      parameters = []
      node[@options][:parameters].each do |key, value|
        parameters << "#{key} = #{value[@value]}"
      end
      parameters << 'attributes = {}'
      parameters << 'indent'
      parameters << '&block'
      definition += '(' + parameters.join(', ') + ')'

      buffer_eval 'instance_eval do'
      buffer_eval definition

      @in_definition = true
      node[@children].each do |child|
        root child, 0
      end
      @in_definition = false

      buffer_eval 'end'
      buffer_eval 'end'
    end
Write out definition node using ruby def

 @param node [Node] Current node data with options