Module: Stove

Defined in:
lib/stove.rb,
lib/stove/cli.rb,
lib/stove/git.rb,
lib/stove/jira.rb,
lib/stove/mash.rb,
lib/stove/error.rb,
lib/stove/config.rb,
lib/stove/github.rb,
lib/stove/logger.rb,
lib/stove/version.rb,
lib/stove/cookbook.rb,
lib/stove/packager.rb,
lib/stove/uploader.rb,
lib/stove/formatter.rb,
lib/stove/rake_task.rb,
lib/stove/community_site.rb,
lib/stove/formatter/base.rb,
lib/stove/formatter/human.rb,
lib/stove/formatter/silent.rb,
lib/stove/cookbook/metadata.rb

Defined Under Namespace

Modules: Formatter, Git, Logger Classes: AbstractFunction, BadResponse, Cli, CommunitySite, Config, Cookbook, CookbookCategoryNotFound, Error, GitError, GitHub, InvalidVersionError, JIRA, Mash, MetadataNotFound, Packager, RakeTask, UploadError, Uploader, UserCanceledError

Constant Summary collapse

VERSION =
'1.1.0'

Class Method Summary collapse

Class Method Details

.formatterObject



19
20
21
# File 'lib/stove.rb', line 19

def formatter
  @formatter ||= Stove::Formatter::Human.new
end

.set_formatter(name) ⇒ Object



23
24
25
# File 'lib/stove.rb', line 23

def set_formatter(name)
  @formatter = Stove::Formatter::Base.formatters[name.to_sym].new
end