Class: Thor::Shell::Basic

Inherits:
Object
  • Object
show all
Defined in:
lib/jets/commands/base.rb

Direct Known Subclasses

Jets::Commands::Markdown::Shell

Instance Method Summary collapse

Instance Method Details



8
9
10
11
# File 'lib/jets/commands/base.rb', line 8

def print_wrapped(message, options = {})
  message = "\n#{message}" unless message.starts_with?("\n")
  stdout.puts message
end