Class: Rum::Docker::Build
- Inherits:
-
Object
- Object
- Rum::Docker::Build
- Extended by:
- AttrCallable
- Includes:
- Executable
- Defined in:
- lib/rumrunner/docker.rb
Instance Attribute Summary
Attributes included from Executable
Instance Method Summary collapse
- #each {|@path || "."| ... } ⇒ Object
-
#initialize(options: nil, path: nil, &block) ⇒ Build
constructor
A new instance of Build.
Methods included from AttrCallable
Methods included from Executable
#method_missing, #to_s, #with_defaults
Constructor Details
#initialize(options: nil, path: nil, &block) ⇒ Build
Returns a new instance of Build.
99 100 101 102 |
# File 'lib/rumrunner/docker.rb', line 99 def initialize(options:nil, path:nil, &block) @path = path super options: , &block end |
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class Rum::Docker::Executable
Instance Method Details
#each {|@path || "."| ... } ⇒ Object
104 105 106 107 |
# File 'lib/rumrunner/docker.rb', line 104 def each super{|x| yield x } yield @path || "." end |