Class: Egg::Dockerfile::Ruby
Overview
Ruby Dockerfile Template Required Attributes: @ruby_version: Version of Ruby to use for the ruby image.
Instance Attribute Summary collapse
-
#ruby_version ⇒ Object
Returns the value of attribute ruby_version.
Attributes inherited from Base
Instance Method Summary collapse
-
#initialize ⇒ Ruby
constructor
A new instance of Ruby.
- #required_attributes ⇒ Object
Methods inherited from Base
Constructor Details
#initialize ⇒ Ruby
Returns a new instance of Ruby.
13 14 15 |
# File 'lib/egg/dockerfile/ruby.rb', line 13 def initialize @template = dockerfile end |
Instance Attribute Details
#ruby_version ⇒ Object
Returns the value of attribute ruby_version.
11 12 13 |
# File 'lib/egg/dockerfile/ruby.rb', line 11 def ruby_version @ruby_version end |
Instance Method Details
#required_attributes ⇒ Object
7 8 9 |
# File 'lib/egg/dockerfile/ruby.rb', line 7 def required_attributes super + [:ruby_version] end |