class Pug::Strings

Convenience methods for user facing strings

Public Class Methods

enter_inputs(action_name) click to toggle source
# File lib/pug/strings.rb, line 22
def self.enter_inputs(action_name)
  "Enter inputs for #{action_name}"
end
error_occurred() click to toggle source
# File lib/pug/strings.rb, line 10
def self.error_occurred
  'An error occurred acting on your action'
end
finished_running(action_name) click to toggle source
# File lib/pug/strings.rb, line 14
def self.finished_running(action_name)
  "Finished running #{action_name}"
end
help(commands) click to toggle source
# File lib/pug/strings.rb, line 34
def self.help(commands)
  "These are the available commands:\n#{commands}"
end
list_description() click to toggle source
# File lib/pug/strings.rb, line 42
def self.list_description
  'Displays all your available pug-bot actions'
end
no_action_running() click to toggle source
# File lib/pug/strings.rb, line 6
def self.no_action_running
  'There is no action currently running.'
end
no_actions() click to toggle source
# File lib/pug/strings.rb, line 30
def self.no_actions
  'There are no actions available to run. Did you set some up?'
end
no_help_commands() click to toggle source
# File lib/pug/strings.rb, line 38
def self.no_help_commands
  'There are no available commands.'
end
unable_to_start_action(index) click to toggle source
# File lib/pug/strings.rb, line 18
def self.unable_to_start_action(index)
  "Unable to start action at index: #{index}"
end
unknown_input() click to toggle source
# File lib/pug/strings.rb, line 26
def self.unknown_input
  "Sorry, I don't understand that input."
end