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
-
#expand_path ⇒ Object
Require all resource properties.
- #limit_exceeded_error(value, limit, error_class) ⇒ Object
-
#r ⇒ Object
Require all resource attributes.
Instance Method Details
#expand_path ⇒ Object
Require all resource properties
373 374 375 |
# File 'lib/convection/model/template/resource.rb', line 373 Dir.glob(File.('../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 |
#r ⇒ Object
Require all resource attributes
15 |
# File 'lib/convection/model/template/resource_attribute.rb', line 15 Dir.glob(File.('../resource_attribute/*.rb', __FILE__)).map { |r| require r } |