class Mushy::Print

Public Class Methods

details() click to toggle source
# File lib/mushy/fluxs/print.rb, line 5
def self.details
  {
    name: 'Print',
    description: 'Print output to the screen.',
    config: {
      message: {
              description: 'The message to display',
              type:        'text',
              value:       '',
            },
    }
  }
end

Public Instance Methods

process(event, config) click to toggle source
# File lib/mushy/fluxs/print.rb, line 19
def process event, config
  puts config[:message]
  {}
end