Class: Memo::Cli::Command::Fuzzy
- Inherits:
-
Object
- Object
- Memo::Cli::Command::Fuzzy
- Defined in:
- lib/memo/cli/command/fuzzy.rb
Instance Method Summary collapse
- #call ⇒ Object
-
#initialize(options, os: Memo::OS.new) ⇒ Fuzzy
constructor
A new instance of Fuzzy.
Constructor Details
Instance Method Details
#call ⇒ Object
14 15 16 17 18 |
# File 'lib/memo/cli/command/fuzzy.rb', line 14 def call @os.exec "#{@config.editor} "\ "$(find #{@config.root} -type f | "\ "#{@config.fuzzy_finder})" end |