Module: Toolshed

Defined in:
lib/toolshed.rb,
lib/toolshed/cli.rb,
lib/toolshed/base.rb,
lib/toolshed/error.rb,
lib/toolshed/client.rb,
lib/toolshed/github.rb,
lib/toolshed/version.rb,
lib/toolshed/pivotal_tracker.rb,
lib/toolshed/commands/create_github_pull_request.rb,
lib/toolshed/commands/create_pivotal_tracker_note.rb,
lib/toolshed/commands/update_pivotal_tracker_story_status.rb,
lib/toolshed/commands/get_pivotal_tracker_story_information.rb

Defined Under Namespace

Modules: Commands Classes: AuthenticationFailed, Base, CLI, Client, CommandNotFound, Error, Github, PivotalTracker, RecordExists, RecordNotFoundError

Constant Summary collapse

BLANK_REGEX =
/\S+/
VERSION =
"0.0.3"

Class Method Summary collapse

Class Method Details

.deprecate(message = nil) ⇒ void

This method returns an undefined value.

Echoes a deprecation warning message.

Parameters:

  • message (String) (defaults to: nil)

    The message to display.



15
16
17
18
# File 'lib/toolshed.rb', line 15

def self.deprecate(message = nil)
  message ||= "You are using deprecated behavior which will be removed from the next major or minor release."
  warn("DEPRECATION WARNING: #{message}")
end