Class: Jets::Git::Saved
- Inherits:
-
Object
- Object
- Jets::Git::Saved
- Extended by:
- Memoist
- Defined in:
- lib/jets/git/saved.rb
Instance Method Summary collapse
-
#params ⇒ Object
gitinfo.yml contains original git info from the project.
Instance Method Details
#params ⇒ Object
gitinfo.yml contains original git info from the project
10 11 12 13 14 |
# File 'lib/jets/git/saved.rb', line 10 def params return {} unless File.exist?(".jets/gitinfo.yml") data = YAML.load_file(".jets/gitinfo.yml") ActiveSupport::HashWithIndifferentAccess.new(data) end |