Class: Pennyworth::CLI::Actions::Text

Inherits:
Sod::Action
  • Object
show all
Defined in:
lib/pennyworth/cli/actions/text.rb

Overview

Handles the text action.

Instance Method Summary collapse

Instance Method Details

#call(content) ⇒ Object



16
# File 'lib/pennyworth/cli/actions/text.rb', line 16

def call(content) = io.puts processor.call(content).to_json