module Hammerhead

Wraps the functionality of the hammerhead tool. Contains the commands defined, and implemented, by the tty gem.

Public Class Methods

configuration() click to toggle source

Returns a Hammerhead::Configuration instance

# File lib/hammerhead.rb, line 30
def configuration
  @configuration ||= Hammerhead::Configuration.new
end
configure() { |configuration| ... } click to toggle source

Provides an alternate way to access the configuration

# File lib/hammerhead.rb, line 43
def configure
  yield configuration
end
logger() click to toggle source

Returns a TTY::Logger instance

# File lib/hammerhead.rb, line 37
def logger
  @logger ||= TTY::Logger.new
end