Sha256: 73ba97012ee9361c91e0c8691e3fbc6953f1f9da48942563ac84a8481304deba
Contents?: true
Size: 495 Bytes
Versions: 1
Compression:
Stored size: 495 Bytes
Contents
module Space class Screen attr_reader :app def initialize(app) @app = app end def render system 'clear' puts render_project app.repos.each { |repo| puts render_repo(repo) } end private def render_project View.new.render(:project, :app => app, :bundle => app.bundle) end def render_repo(repo) View.new.render(:repo, :app => app, :repo => repo, :git => repo.git, :bundle => repo.bundle) end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
space-0.0.2 | lib/space/screen.rb |