Module: Wocker::Wockerfile

Defined in:
lib/wocker/wockerfile.rb

Constant Summary collapse

@@ports =
[]
@@runs =
[]
@@from =
nil
@@workdir =
nil

Class Method Summary collapse

Class Method Details

.fromObject



18
19
20
21
# File 'lib/wocker/wockerfile.rb', line 18

def self.from
  parse
  @@from
end

.portsObject



10
11
12
13
# File 'lib/wocker/wockerfile.rb', line 10

def self.ports
  parse
  @@ports
end

.runsObject



14
15
16
17
# File 'lib/wocker/wockerfile.rb', line 14

def self.runs
  parse
  @@runs
end

.workdirObject



22
23
24
25
# File 'lib/wocker/wockerfile.rb', line 22

def self.workdir
  parse
  @@workdir
end