Exception: PhusionPassenger::Standalone::ConfigFile::DisallowedContextError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/phusion_passenger/standalone/config_file.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(message, filename, line) ⇒ DisallowedContextError

Returns a new instance of DisallowedContextError.



33
34
35
36
37
# File 'lib/phusion_passenger/standalone/config_file.rb', line 33

def initialize(message, filename, line)
	super(message)
	@filename = filename
	@line = line
end

Instance Attribute Details

#filenameObject (readonly)

Returns the value of attribute filename.



30
31
32
# File 'lib/phusion_passenger/standalone/config_file.rb', line 30

def filename
  @filename
end

#lineObject (readonly)

Returns the value of attribute line.



31
32
33
# File 'lib/phusion_passenger/standalone/config_file.rb', line 31

def line
  @line
end