Class: GitContext::Context
- Inherits:
-
Struct
- Object
- Struct
- GitContext::Context
- Defined in:
- lib/git_context.rb
Instance Attribute Summary collapse
-
#profile_name ⇒ Object
Returns the value of attribute profile_name.
-
#work_dir ⇒ Object
Returns the value of attribute work_dir.
Instance Method Summary collapse
Instance Attribute Details
#profile_name ⇒ Object
Returns the value of attribute profile_name
19 20 21 |
# File 'lib/git_context.rb', line 19 def profile_name @profile_name end |
#work_dir ⇒ Object
Returns the value of attribute work_dir
19 20 21 |
# File 'lib/git_context.rb', line 19 def work_dir @work_dir end |
Instance Method Details
#serialize ⇒ Object
20 21 22 23 24 25 |
# File 'lib/git_context.rb', line 20 def serialize { 'work_dir' => work_dir, 'profile_name' => profile_name } end |