Module: Tr3llo::Command::Label::Invalid

Extended by:
Invalid
Included in:
Invalid
Defined in:
lib/3llo/command/label/invalid.rb

Instance Method Summary collapse

Instance Method Details

#execute(message) ⇒ Object



7
8
9
10
11
12
13
14
# File 'lib/3llo/command/label/invalid.rb', line 7

def execute(message)
  interface = Application.fetch_interface!()

  interface.print_frame do
    interface.print_error(message)
    interface.puts(View::Label::Help.render())
  end
end