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


27
28
29
# File 'lib/ridley/errors.rb', line 27

def initialize(type)
  @type = type
end

Instance Attribute Details

#typeObject (readonly)

Returns the value of attribute type


25
26
27
# File 'lib/ridley/errors.rb', line 25

def type
  @type
end

Instance Method Details

#to_sObject


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

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