Top Level Namespace

Defined Under Namespace

Modules: Convection Classes: Array, ExcessiveDescriptionError, ExcessiveMappingAttributeNameError, ExcessiveMappingAttributesError, ExcessiveMappingNameError, ExcessiveMappingsError, ExcessiveOutputNameError, ExcessiveOutputsError, ExcessiveParameterBytesizeError, ExcessiveParameterNameError, ExcessiveParametersError, ExcessiveResourceNameError, ExcessiveResourcesError, ExcessiveTemplateSizeError, Hash, ValidationError

Instance Method Summary collapse

Instance Method Details

#expand_pathObject

Require all resource properties



373
374
375
# File 'lib/convection/model/template/resource.rb', line 373

Dir.glob(File.expand_path('../resource/*.rb', __FILE__)) do |r|
  require_relative r
end

#limit_exceeded_error(value, limit, error_class) ⇒ Object



16
17
18
# File 'lib/convection/model/exceptions.rb', line 16

def limit_exceeded_error(value, limit, error_class)
  fail error_class, "Value #{value} exceeds Limit #{limit}"
end

#rObject

Require all resource attributes



15
# File 'lib/convection/model/template/resource_attribute.rb', line 15

Dir.glob(File.expand_path('../resource_attribute/*.rb', __FILE__)).map { |r| require r }