Exception: Ridley::Errors::UnknownCookbookFileType

Inherits:
RidleyError
  • Object
show all
Defined in:
lib/ridley/errors.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#typeObject (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_sObject



34
35
36
# File 'lib/ridley/errors.rb', line 34

def to_s
  "filetype: '#{type}'"
end