class BambooRat::JSComponent
Public Class Methods
js?(path)
click to toggle source
# File lib/bamboo_rat/component_tree.rb, line 60 def self.js?(path) File.exist?(package_path(path)) end
package_path(path)
click to toggle source
# File lib/bamboo_rat/component_tree.rb, line 56 def self.package_path(path) path + '/package.json' end
Public Instance Methods
name()
click to toggle source
# File lib/bamboo_rat/component_tree.rb, line 52 def name 'JS' end