Class: Rubygems::XcodeprojGenerator::Rbenv
- Inherits:
-
AbstractRubyHeaderProvider
- Object
- AbstractRubyHeaderProvider
- Rubygems::XcodeprojGenerator::Rbenv
- Defined in:
- lib/rubygems/xcodeproj_generator/rbenv.rb
Constant Summary collapse
- DEFAULT_ROOT_PATH =
'~/.rbenv'.freeze
- VERSIONS_PATH =
'versions'.freeze
Instance Attribute Summary
Attributes inherited from AbstractRubyHeaderProvider
Instance Method Summary collapse
-
#initialize(root_path = nil) ⇒ Rbenv
constructor
A new instance of Rbenv.
Methods inherited from AbstractRubyHeaderProvider
#available?, #ruby_header_paths
Constructor Details
#initialize(root_path = nil) ⇒ Rbenv
Returns a new instance of Rbenv.
9 10 11 12 |
# File 'lib/rubygems/xcodeproj_generator/rbenv.rb', line 9 def initialize(root_path = nil) root_path ||= ENV['RBENV_ROOT'] || DEFAULT_ROOT_PATH super(root_path) end |