Module: Banis::ModDev::DevReposWorkspace
- Defined in:
- lib/banis/mod_dev/dev_repos_workspace.rb
Instance Method Summary
collapse
Dynamic Method Handling
This class handles dynamic methods through the method_missing method
#method_missing(mtd, *args, &block) ⇒ Object
29
30
31
32
33
|
# File 'lib/banis/mod_dev/dev_repos_workspace.rb', line 29
def method_missing(mtd, *args, &block)
if ws.respond_to?(mtd)
ws.send(mtd, *args, &block)
end
end
|
Instance Method Details
#gity ⇒ Object
13
14
15
16
17
18
|
# File 'lib/banis/mod_dev/dev_repos_workspace.rb', line 13
def gity
Gity::Landing.new.run(model.vcs_path, no_exit: true) do |ops, *val|
end
end
|
#has_changes? ⇒ Boolean
9
10
11
|
# File 'lib/banis/mod_dev/dev_repos_workspace.rb', line 9
def has_changes?
not ws.is_clean?
end
|