Class: Evertils::Action::Search
- Defined in:
- lib/evertils/actions/search.rb
Constant Summary collapse
- Formatting =
Evertils::Helper::Formatting
Instance Method Summary collapse
-
#initialize(args) ⇒ Search
constructor
A new instance of Search.
Constructor Details
#initialize(args) ⇒ Search
Returns a new instance of Search.
10 11 12 13 14 15 16 17 |
# File 'lib/evertils/actions/search.rb', line 10 def initialize(args) @note_helper = Evertils::Helper::Note.instance @args = args @note = @note_helper.find_note_by_grammar(grammar.to_s) @api_helper = Evertils::Helper::ApiEnmlHandler.new(@config) execute end |