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.
-
#time ⇒ Object
Returns the value of attribute time.
Instance Method Summary collapse
-
#initialize(name, email, time = nil) ⇒ Actor
constructor
A new instance of Actor.
- #output(time) ⇒ Object
Constructor Details
#initialize(name, email, time = nil) ⇒ Actor
Returns a new instance of Actor.
61 62 63 64 65 66 |
# File 'lib/rjgit_adapter/git_layer_rjgit.rb', line 61 def initialize(name, email, time = nil) @name = name @email = email @time = time @actor = RJGit::Actor.new(name, email, time) end |
Instance Attribute Details
#actor ⇒ Object (readonly)
Returns the value of attribute actor.
59 60 61 |
# File 'lib/rjgit_adapter/git_layer_rjgit.rb', line 59 def actor @actor end |
#email ⇒ Object
Returns the value of attribute email.
58 59 60 |
# File 'lib/rjgit_adapter/git_layer_rjgit.rb', line 58 def email @email end |
#name ⇒ Object
Returns the value of attribute name.
58 59 60 |
# File 'lib/rjgit_adapter/git_layer_rjgit.rb', line 58 def name @name end |
#time ⇒ Object
Returns the value of attribute time.
58 59 60 |
# File 'lib/rjgit_adapter/git_layer_rjgit.rb', line 58 def time @time end |
Instance Method Details
#output(time) ⇒ Object
68 69 70 |
# File 'lib/rjgit_adapter/git_layer_rjgit.rb', line 68 def output(time) @actor.output(time) end |