Class: BambooRat::RubyComponent
Instance Attribute Summary
Attributes inherited from Component
#path
Class Method Summary
collapse
Instance Method Summary
collapse
Methods inherited from Component
#initialize
Class Method Details
.gem_path(path) ⇒ Object
42
43
44
|
# File 'lib/bamboo_rat/component_tree.rb', line 42
def self.gem_path(path)
path + '/Gemfile'
end
|
.ruby?(path) ⇒ Boolean
46
47
48
|
# File 'lib/bamboo_rat/component_tree.rb', line 46
def self.ruby?(path)
File.exist?(gem_path(path))
end
|
Instance Method Details
#name ⇒ Object
38
39
40
|
# File 'lib/bamboo_rat/component_tree.rb', line 38
def name
'Ruby'
end
|