Exception: Toast::Errors::NotAllowed

Inherits:
StandardError
  • Object
show all
Defined in:
lib/toast/errors.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(source_location) ⇒ NotAllowed

Returns a new instance of NotAllowed.



19
20
21
22
# File 'lib/toast/errors.rb', line 19

def initialize source_location
  @source_location = source_location
  super ''
end

Instance Attribute Details

#source_locationObject

Returns the value of attribute source_location.



17
18
19
# File 'lib/toast/errors.rb', line 17

def source_location
  @source_location
end