Module: Batali
- Defined in:
- lib/batali.rb,
lib/batali/git.rb,
lib/batali/unit.rb,
lib/batali/b_file.rb,
lib/batali/config.rb,
lib/batali/monkey.rb,
lib/batali/origin.rb,
lib/batali/source.rb,
lib/batali/command.rb,
lib/batali/utility.rb,
lib/batali/version.rb,
lib/batali/manifest.rb,
lib/batali/tag_lines.rb,
lib/batali/origin/git.rb,
lib/batali/source/git.rb,
lib/batali/origin/path.rb,
lib/batali/source/path.rb,
lib/batali/source/site.rb,
lib/batali/unit_loader.rb,
lib/batali/score_keeper.rb,
lib/batali/command/cache.rb,
lib/batali/command/update.rb,
lib/batali/command/display.rb,
lib/batali/command/install.rb,
lib/batali/command/resolve.rb,
lib/batali/requirement_list.rb,
lib/batali/command/configure.rb,
lib/batali/origin/chef_server.rb,
lib/batali/origin/remote_site.rb,
lib/batali/source/chef_server.rb,
lib/batali/command/supermarket.rb
Overview
Batali namespace
Defined Under Namespace
Modules: Git Classes: BFile, Command, Config, Manifest, Origin, RequirementList, ScoreKeeper, Source, Struct, Unit, UnitDependency, UnitLoader, UnitRequirement, UnitVersion, Utility
Constant Summary collapse
- VERSION =
Current version
Gem::Version.new('0.4.4')
- TAG_LINES =
Version output taglines
[ 'I got 99 problems but a policyfile ain\'t one', 'Solve the way you want, not the way you\'re told', 'Build environments, not applications', 'DRY should be the rule, not the exception', 'Solve for the forest, not just a tree' ]
Class Attribute Summary collapse
Class Method Summary collapse
-
.debug(*args) ⇒ Object
Write debug message.
-
.define(&block) ⇒ AttributeStruct
Create a new file.
-
.verbose(*args) ⇒ Object
Write verbose message.
Class Attribute Details
.ui ⇒ Bogo::Ui
26 27 28 |
# File 'lib/batali.rb', line 26 def ui @ui end |
Class Method Details
.debug(*args) ⇒ Object
Write debug message
47 48 49 50 51 |
# File 'lib/batali.rb', line 47 def debug(*args) if(ui) ui.debug(*args) end end |
.define(&block) ⇒ AttributeStruct
Create a new file
83 84 85 86 87 88 |
# File 'lib/batali/b_file.rb', line 83 def self.define(&block) struct = Struct.new struct.set_state!(:value_collapse => true) struct.build!(&block) struct end |
.verbose(*args) ⇒ Object
Write verbose message
40 41 42 43 44 |
# File 'lib/batali.rb', line 40 def verbose(*args) if(ui) ui.verbose(*args) end end |