Class: DockerfileRB::Healthcheck

Inherits:
Object
  • Object
show all
Defined in:
lib/dockerfile-rb/healthcheck.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(none = false) ⇒ Healthcheck

Returns a new instance of Healthcheck.



4
5
6
# File 'lib/dockerfile-rb/healthcheck.rb', line 4

def initialize(none = false)
  @none = none
end

Instance Attribute Details

#noneObject (readonly)

Returns the value of attribute none.



3
4
5
# File 'lib/dockerfile-rb/healthcheck.rb', line 3

def none
  @none
end