Class: String
- Inherits:
-
Object
- Object
- String
- Defined in:
- lib/git-blame-color/ext/string.rb
Instance Method Summary collapse
Instance Method Details
#key ⇒ Object
2 3 4 |
# File 'lib/git-blame-color/ext/string.rb', line 2 def key split(' ', 2)[0] end |
#value ⇒ Object
6 7 8 |
# File 'lib/git-blame-color/ext/string.rb', line 6 def value split(' ', 2)[1] end |