Class: Servactory::Outputs::Output::Actor
- Inherits:
-
Object
- Object
- Servactory::Outputs::Output::Actor
- Defined in:
- lib/servactory/outputs/output.rb
Instance Attribute Summary collapse
-
#name ⇒ Object
readonly
Returns the value of attribute name.
-
#options ⇒ Object
readonly
Returns the value of attribute options.
-
#types ⇒ Object
readonly
Returns the value of attribute types.
Instance Method Summary collapse
-
#initialize(output) ⇒ Actor
constructor
A new instance of Actor.
Constructor Details
#initialize(output) ⇒ Actor
Returns a new instance of Actor.
11 12 13 14 15 16 17 |
# File 'lib/servactory/outputs/output.rb', line 11 def initialize(output) @name = output.name @types = output.types @options = output. define_identity_methods(output) end |
Instance Attribute Details
#name ⇒ Object (readonly)
Returns the value of attribute name.
7 8 9 |
# File 'lib/servactory/outputs/output.rb', line 7 def name @name end |
#options ⇒ Object (readonly)
Returns the value of attribute options.
7 8 9 |
# File 'lib/servactory/outputs/output.rb', line 7 def @options end |
#types ⇒ Object (readonly)
Returns the value of attribute types.
7 8 9 |
# File 'lib/servactory/outputs/output.rb', line 7 def types @types end |