Exception: Buble::UnsupportedGenerationFieldError
- Defined in:
- lib/buble/errors.rb
Instance Attribute Summary collapse
-
#field ⇒ Object
readonly
Returns the value of attribute field.
Instance Method Summary collapse
-
#initialize(field) ⇒ UnsupportedGenerationFieldError
constructor
A new instance of UnsupportedGenerationFieldError.
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
#field ⇒ Object (readonly)
Returns the value of attribute field.
46 47 48 |
# File 'lib/buble/errors.rb', line 46 def field @field end |