Class: Hadupils::Extensions::Static
- Inherits:
-
Base
- Object
- Base
- Hadupils::Extensions::Static
show all
- Defined in:
- lib/hadupils/extensions.rb
Instance Attribute Summary
Attributes inherited from Base
#assets, #path
Class Method Summary
collapse
Instance Method Summary
collapse
Methods inherited from Base
#initialize, #merge_assets
Class Method Details
.gather_assets(path) ⇒ Object
318
319
320
|
# File 'lib/hadupils/extensions.rb', line 318
def self.gather_assets(path)
[]
end
|
Instance Method Details
#hadoop_conf? ⇒ Boolean
330
331
332
|
# File 'lib/hadupils/extensions.rb', line 330
def hadoop_conf?
hadoop_conf_path ? ::File.file?(hadoop_conf_path) : false
end
|
#hadoop_conf_path ⇒ Object
322
323
324
|
# File 'lib/hadupils/extensions.rb', line 322
def hadoop_conf_path
::File.join(path, 'hadoop.xml') if path
end
|
#hiverc? ⇒ Boolean
334
335
336
|
# File 'lib/hadupils/extensions.rb', line 334
def hiverc?
hiverc_path ? ::File.file?(hiverc_path) : false
end
|
#hiverc_path ⇒ Object
326
327
328
|
# File 'lib/hadupils/extensions.rb', line 326
def hiverc_path
::File.join(path, 'hiverc') if path
end
|