Sha256: 0e1a6960142d7275e9d4529885b186c1607e7071ea7964d6143cc88ea602e35a
Contents?: true
Size: 1004 Bytes
Versions: 57
Compression:
Stored size: 1004 Bytes
Contents
module Redcar module Scm class ScmChangesMirror class ChangesNode include Redcar::Tree::Mirror::NodeMirror attr_reader :change_types def initialize(repo, change_types) @repo = repo @change_types = change_types end def text case @change_types when :indexed @repo.translations[:indexed_changes] when :unindexed @repo.translations[:unindexed_changes] when :all @repo.translations[:uncommited_changes] end end def icon :directory end def leaf? false end def children case @change_types when :indexed @repo.indexed_changes when :unindexed @repo.unindexed_changes when :all @repo.uncommited_changes end end end end end end
Version data entries
57 entries across 57 versions & 2 rubygems