Class: Hadupils::Extensions::HadoopConf::Static
- Inherits:
-
Object
- Object
- Hadupils::Extensions::HadoopConf::Static
- Includes:
- HadoopOpt
- Defined in:
- lib/hadupils/extensions.rb
Overview
Wraps an extant hadoop configuration file and provides an interface compatible with the critical parts of the Static sibling class so they may be used interchangeably by runners when determining hadoop options.
Instance Attribute Summary collapse
-
#path ⇒ Object
readonly
Returns the value of attribute path.
Instance Method Summary collapse
- #close ⇒ Object
-
#initialize(path) ⇒ Static
constructor
Given a path, expands it ti.
Methods included from HadoopOpt
Constructor Details
#initialize(path) ⇒ Static
Given a path, expands it ti
134 135 136 |
# File 'lib/hadupils/extensions.rb', line 134 def initialize(path) @path = ::File.(path) end |
Instance Attribute Details
#path ⇒ Object (readonly)
Returns the value of attribute path.
129 130 131 |
# File 'lib/hadupils/extensions.rb', line 129 def path @path end |
Instance Method Details
#close ⇒ Object
138 139 |
# File 'lib/hadupils/extensions.rb', line 138 def close end |