class SchemaToScaffold::Help
Constants
- GENERIC_HELP
Usage help text to print in all platforms
- LINUX_HELP
Linux specific usage help text
- WINDOWS_HELP
Windows specific usage help text
Public Class Methods
message()
click to toggle source
# File lib/schema_to_scaffold/help.rb, line 32 def self.message return GENERIC_HELP + case platform when /darwin/i then LINUX_HELP when /linux/i then LINUX_HELP when /mingw/i then WINDOWS_HELP when /win/i then WINDOWS_HELP end end
platform()
click to toggle source
# File lib/schema_to_scaffold/help.rb, line 42 def self.platform RUBY_PLATFORM end