Sha256: d6e9a99c1940c15fdbeafa88d7c37af2548bfde868f6c6c4699aede18b36057e
Contents?: true
Size: 895 Bytes
Versions: 16
Compression:
Stored size: 895 Bytes
Contents
module Redcar class Runnables class HelpItem include Redcar::Tree::Mirror::NodeMirror def text "No runnables (HELP)" end end class Runnable include Redcar::Tree::Mirror::NodeMirror def initialize(name,path,info) @name = name @info = info @path = path end def text @name end def path @path end def tooltip_text @info["description"] || "" end def leaf? @info["command"] end def icon File.join(Redcar::ICONS_DIRECTORY, "cog.png") end def children [] end def command @info["command"] end def out? @info["output"] end def output if out? @info["output"] else "tab" end end end end end
Version data entries
16 entries across 16 versions & 2 rubygems