Exception: Ridley::Errors::UnknownCookbookFileType
- Inherits:
-
RidleyError
- Object
- StandardError
- RidleyError
- Ridley::Errors::UnknownCookbookFileType
- Defined in:
- lib/ridley/errors.rb
Instance Attribute Summary collapse
-
#type ⇒ Object
readonly
Returns the value of attribute type.
Instance Method Summary collapse
-
#initialize(type) ⇒ UnknownCookbookFileType
constructor
A new instance of UnknownCookbookFileType.
- #to_s ⇒ Object
Constructor Details
#initialize(type) ⇒ UnknownCookbookFileType
Returns a new instance of UnknownCookbookFileType.
31 32 33 |
# File 'lib/ridley/errors.rb', line 31 def initialize(type) @type = type end |
Instance Attribute Details
#type ⇒ Object (readonly)
Returns the value of attribute type.
29 30 31 |
# File 'lib/ridley/errors.rb', line 29 def type @type end |
Instance Method Details
#to_s ⇒ Object
35 36 37 |
# File 'lib/ridley/errors.rb', line 35 def to_s "filetype: '#{type}'" end |