Class: Topicz::Commands::EditorCommand
- Inherits:
-
RepositoryCommand
- Object
- RepositoryCommand
- Topicz::Commands::EditorCommand
- Defined in:
- lib/topicz/commands/editor_command.rb
Direct Known Subclasses
Instance Method Summary collapse
Methods inherited from RepositoryCommand
#find_exactly_one_topic, #initialize, #load_config, #load_repository, #process_excludes
Constructor Details
This class inherits a constructor from Topicz::Commands::RepositoryCommand
Instance Method Details
#editor ⇒ Object
7 8 9 10 11 |
# File 'lib/topicz/commands/editor_command.rb', line 7 def editor @config['editor'] || ENV['EDITOR'] || raise('No editor configured. Set one in the topicz configuraton file, or in the EDITOR environment variable.') end |