Exception: Zoom::Error::InvalidTag

Inherits:
Zoom::Error
  • Object
show all
Defined in:
lib/zoom/error/invalid_tag.rb

Instance Method Summary collapse

Constructor Details

#initialize(tag = nil) ⇒ InvalidTag

Returns a new instance of InvalidTag.



2
3
4
5
# File 'lib/zoom/error/invalid_tag.rb', line 2

def initialize(tag = nil)
    super("Invalid tag: #{tag}") if (tag)
    super("Invalid tag") if (tag.nil?)
end