Module: Atlasq

Defined in:
lib/atlasq.rb,
lib/atlasq/data.rb,
lib/atlasq/util.rb,
lib/atlasq/cache.rb,
lib/atlasq/shell.rb,
lib/atlasq/format.rb,
lib/atlasq/command.rb,
lib/atlasq/version.rb,
lib/atlasq/command/any.rb,
lib/atlasq/util/string.rb,
lib/atlasq/command/base.rb,
lib/atlasq/command/help.rb,
lib/atlasq/command/money.rb,
lib/atlasq/command/usage.rb,
lib/atlasq/partial_match.rb,
lib/atlasq/util/word_map.rb,
lib/atlasq/command/region.rb,
lib/atlasq/command/country.rb,
lib/atlasq/command/version.rb,
lib/atlasq/command/language.rb

Defined Under Namespace

Modules: Cache, Command, Data, Format, PartialMatch, Shell, Util Classes: Error

Constant Summary collapse

DEBUG =
ENV.key?("ATLASQ_DEBUG")
VERSION =
"1.0.2"

Class Method Summary collapse

Class Method Details

.failed!Object



17
18
19
# File 'lib/atlasq.rb', line 17

def self.failed!
  @failed = true
end

.failed?Boolean

Returns:

  • (Boolean)


22
23
24
# File 'lib/atlasq.rb', line 22

def self.failed?
  !!@failed
end