Module: Figs
- Extended by:
- Figs
- Included in:
- Figs
- Defined in:
- lib/figs/directory_flattener.rb,
lib/figs.rb,
lib/figs/env.rb,
lib/figs/error.rb,
lib/figs/install.rb,
lib/figs/version.rb,
lib/figs/figsfile.rb,
lib/figs/application.rb,
lib/figs/git_handler.rb
Overview
Module for anything Figs related.
Defined Under Namespace
Modules: DirectoryFlattener, ENV, GitHandler
Classes: Application, Error, Figsfile, Install, MissingKey
Constant Summary
collapse
- VERSION =
"3.0.0"
Instance Attribute Summary collapse
Instance Method Summary
collapse
Instance Attribute Details
#application(options = {}) ⇒ Object
19
20
21
|
# File 'lib/figs.rb', line 19
def application(options = {})
@application ||= backend.new({:file => figsfile, :stage => options[:stage]})
end
|
#backend ⇒ Object
15
16
17
|
# File 'lib/figs.rb', line 15
def backend
@backend ||= Figs::Application
end
|
Instance Method Details
#env ⇒ Object
11
12
13
|
# File 'lib/figs.rb', line 11
def env
application.env
end
|
#load(options = {}) ⇒ Object
23
24
25
|
# File 'lib/figs.rb', line 23
def load(options = {})
application({:stage => options[:stage]}).load
end
|