Class: Utils::ConfigFile::Edit
- Inherits:
-
BlockConfig
- Object
- BlockConfig
- Utils::ConfigFile::Edit
- Defined in:
- lib/utils/config_file.rb
Instance Method Summary collapse
-
#vim_path ⇒ String
The vim_path method determines the path to the vim executable.
Methods inherited from BlockConfig
config, inherited, #initialize, #to_ruby
Constructor Details
This class inherits a constructor from Utils::ConfigFile::BlockConfig
Instance Method Details
#vim_path ⇒ String
The vim_path method determines the path to the vim executable.
This method executes the which command to locate the vim executable in the system’s PATH and returns the resulting path after stripping any trailing whitespace.
632 |
# File 'lib/utils/config_file.rb', line 632 config :vim_path do `which vim`.chomp end |