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.



31
32
33
# File 'lib/ridley/errors.rb', line 31

def initialize(type)
  @type = type
end

Instance Attribute Details

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



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

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