Module: Dockly
- Defined in:
- lib/dockly.rb,
lib/dockly/version.rb
Defined Under Namespace
Modules: AWS, BuildCache Classes: AbstractCommand, BuildCacheCommand, BuildCommand, Cli, Deb, Docker, Foreman, ListCommand
Constant Summary collapse
- LOAD_FILE =
'dockly.rb'
- VERSION =
'1.5.8'
Instance Attribute Summary collapse
-
#instance ⇒ Object
readonly
Returns the value of attribute instance.
Class Method Summary collapse
- .deb ⇒ Object
- .debs ⇒ Object
- .docker ⇒ Object
- .dockers ⇒ Object
- .foreman ⇒ Object
- .foremans ⇒ Object
-
.git_sha ⇒ Object
Returns the value of attribute git_sha.
- .inst ⇒ Object
- .load_file ⇒ Object
-
.load_file=(value) ⇒ Object
Sets the attribute load_file.
- .load_inst ⇒ Object
- .setup ⇒ Object
Instance Attribute Details
#instance ⇒ Object (readonly)
Returns the value of attribute instance.
9 10 11 |
# File 'lib/dockly.rb', line 9 def instance @instance end |
Class Method Details
.deb ⇒ Object
.debs ⇒ Object
.docker ⇒ Object
.dockers ⇒ Object
.foreman ⇒ Object
.foremans ⇒ Object
.git_sha ⇒ Object
Returns the value of attribute git_sha.
9 10 11 |
# File 'lib/dockly.rb', line 9 def git_sha @git_sha end |
.inst ⇒ Object
24 25 26 |
# File 'lib/dockly.rb', line 24 def inst @instance ||= load_inst end |
.load_file ⇒ Object
20 21 22 |
# File 'lib/dockly.rb', line 20 def load_file @load_file || LOAD_FILE end |
.load_file=(value) ⇒ Object
Sets the attribute load_file
10 11 12 |
# File 'lib/dockly.rb', line 10 def load_file=(value) @load_file = value end |
.load_inst ⇒ Object
28 29 30 31 32 33 34 |
# File 'lib/dockly.rb', line 28 def load_inst setup.tap do |state| if File.exists?(load_file) instance_eval(IO.read(load_file), load_file) end end end |