Class: AWSDSL::RoleProfile
- Includes:
- DSL
- Defined in:
- lib/awsdsl/dsl/role_profile.rb
Instance Attribute Summary collapse
-
#block ⇒ Object
Returns the value of attribute block.
Attributes included from DSL
Attributes inherited from Role
Instance Method Summary collapse
-
#initialize(name, &block) ⇒ RoleProfile
constructor
A new instance of RoleProfile.
Methods included from DSL
Methods included from Fn
Constructor Details
#initialize(name, &block) ⇒ RoleProfile
Returns a new instance of RoleProfile.
26 27 28 29 |
# File 'lib/awsdsl/dsl/role_profile.rb', line 26 def initialize(name, &block) @block = block if block_given? super end |
Instance Attribute Details
#block ⇒ Object
Returns the value of attribute block.
4 5 6 |
# File 'lib/awsdsl/dsl/role_profile.rb', line 4 def block @block end |