Exception: Buble::UnsupportedGenerationFieldError

Inherits:
Error
  • Object
show all
Defined in:
lib/buble/errors.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(field) ⇒ UnsupportedGenerationFieldError

Returns a new instance of UnsupportedGenerationFieldError.



48
49
50
51
# File 'lib/buble/errors.rb', line 48

def initialize(field)
  super(%("#{field}" is an internal Buble field and is not supported by the public API.))
  @field = field
end

Instance Attribute Details

#fieldObject (readonly)

Returns the value of attribute field.



46
47
48
# File 'lib/buble/errors.rb', line 46

def field
  @field
end