Class: Backup::Actor::Action
- Inherits:
-
Object
- Object
- Backup::Actor::Action
- Defined in:
- lib/backup/actor.rb
Overview
:nodoc:
Instance Attribute Summary collapse
-
#actor ⇒ Object
readonly
Returns the value of attribute actor.
-
#name ⇒ Object
readonly
Returns the value of attribute name.
-
#options ⇒ Object
readonly
Returns the value of attribute options.
Instance Method Summary collapse
-
#initialize(name, actor, options) ⇒ Action
constructor
A new instance of Action.
Constructor Details
#initialize(name, actor, options) ⇒ Action
Returns a new instance of Action.
34 35 36 |
# File 'lib/backup/actor.rb', line 34 def initialize(name, actor, ) @name, @actor, @options = name, actor, end |
Instance Attribute Details
#actor ⇒ Object (readonly)
Returns the value of attribute actor.
32 33 34 |
# File 'lib/backup/actor.rb', line 32 def actor @actor end |
#name ⇒ Object (readonly)
Returns the value of attribute name.
32 33 34 |
# File 'lib/backup/actor.rb', line 32 def name @name end |
#options ⇒ Object (readonly)
Returns the value of attribute options.
32 33 34 |
# File 'lib/backup/actor.rb', line 32 def @options end |