Class: Gollum::Git::Actor
- Inherits:
-
Object
- Object
- Gollum::Git::Actor
- Defined in:
- lib/rjgit_adapter/git_layer_rjgit.rb
Instance Attribute Summary collapse
-
#actor ⇒ Object
readonly
Returns the value of attribute actor.
-
#email ⇒ Object
Returns the value of attribute email.
-
#name ⇒ Object
Returns the value of attribute name.
Instance Method Summary collapse
-
#initialize(name, email) ⇒ Actor
constructor
A new instance of Actor.
- #output(time) ⇒ Object
Constructor Details
#initialize(name, email) ⇒ Actor
Returns a new instance of Actor.
37 38 39 40 41 |
# File 'lib/rjgit_adapter/git_layer_rjgit.rb', line 37 def initialize(name, email) @name = name @email = email @actor = RJGit::Actor.new(name, email) end |
Instance Attribute Details
#actor ⇒ Object (readonly)
Returns the value of attribute actor.
35 36 37 |
# File 'lib/rjgit_adapter/git_layer_rjgit.rb', line 35 def actor @actor end |
#email ⇒ Object
Returns the value of attribute email.
34 35 36 |
# File 'lib/rjgit_adapter/git_layer_rjgit.rb', line 34 def email @email end |
#name ⇒ Object
Returns the value of attribute name.
34 35 36 |
# File 'lib/rjgit_adapter/git_layer_rjgit.rb', line 34 def name @name end |
Instance Method Details
#output(time) ⇒ Object
43 44 45 |
# File 'lib/rjgit_adapter/git_layer_rjgit.rb', line 43 def output(time) @actor.output(time) end |