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.
30 31 32 |
# File 'lib/ridley/errors.rb', line 30 def initialize(type) @type = type end |
Instance Attribute Details
#type ⇒ Object (readonly)
Returns the value of attribute type.
28 29 30 |
# File 'lib/ridley/errors.rb', line 28 def type @type end |
Instance Method Details
#to_s ⇒ Object
34 35 36 |
# File 'lib/ridley/errors.rb', line 34 def to_s "filetype: '#{type}'" end |