Class: Hadupils::Extensions::HiveRC::Static
- Inherits:
-
Object
- Object
- Hadupils::Extensions::HiveRC::Static
- Includes:
- HiveOpt
- Defined in:
- lib/hadupils/extensions.rb
Overview
Wraps an extant hive initialization file, and providing an interface compatible with the critical parts of the Dynamic sibling class so they may be used interchangeably by runners when determining hive 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 HiveOpt
Constructor Details
#initialize(path) ⇒ Static
Given a path, expands it ti
151 152 153 |
# File 'lib/hadupils/extensions.rb', line 151 def initialize(path) @path = ::File.(path) end |
Instance Attribute Details
#path ⇒ Object (readonly)
Returns the value of attribute path.
146 147 148 |
# File 'lib/hadupils/extensions.rb', line 146 def path @path end |
Instance Method Details
#close ⇒ Object
155 156 |
# File 'lib/hadupils/extensions.rb', line 155 def close end |