class Tollgate::Errors::NoConfiguration

Public Instance Methods

message() click to toggle source
# File lib/tollgate/errors/no_configuration.rb, line 4
      def message
        <<~TEXT


          ERROR: There is no configuration block defined for Tollgate
          ==========================================================

          Create a file at `#{CLI::DEFAULT_CONFIG_PATH}` and define your tollgate using the `check` method:

          ```
          Tollgate.configure do
            check "an_executable_in_my_path"
            check "another_executable_in_my_path"
          end
          ```
        TEXT
      end