Module: RailsConsoleShield::Console

Extended by:
Colors
Defined in:
lib/rails_console_shield/console.rb

Constant Summary

Constants included from Colors

RailsConsoleShield::Colors::COLORS

Class Method Summary collapse

Class Method Details



12
13
14
15
16
17
# File 'lib/rails_console_shield/console.rb', line 12

def print_sandbox
  puts color_text("    Sets the console to sandbox mode by default.\n    To disable it, run it with the --no-sandbox option.\n  TEXT\nend\n")


8
9
10
# File 'lib/rails_console_shield/console.rb', line 8

def print_warning
  puts color_text(RailsConsoleShield.configuration.warn_text)
end