Class: RubyYacht::ServerType::DSL
- Inherits:
-
Object
- Object
- RubyYacht::ServerType::DSL
- Extended by:
- DSL::Base::ClassMethods
- Includes:
- DSL::Base
- Defined in:
- lib/ruby_yacht/dsl/server_type.rb
Overview
This class provides a DSL for configuring a RubyYacht::ServerType.
Instance Method Summary collapse
-
#initialize(name) ⇒ DSL
constructor
This initiailzer creates the server type DSL.
Methods included from DSL::Base::ClassMethods
add_attribute, add_boolean, add_generic_attribute, add_list, add_object, add_object_list, all_attributes, copied_attributes, created_type, creates_object, custom_attribute_method, default_values, required_attributes
Methods included from DSL::Base
#check_required_attributes, #check_server_type, #copy_local_config, #create_object, #load_custom_attributes, #run
Constructor Details
#initialize(name) ⇒ DSL
This initiailzer creates the server type DSL.
Parameters
- name: Symbol The name of the server type.
63 64 65 66 |
# File 'lib/ruby_yacht/dsl/server_type.rb', line 63 def initialize(name) @name = name load_custom_attributes end |