Class: Yoda::Commands::Complete
- Includes:
- FileCursorParsable
- Defined in:
- lib/yoda/commands/complete.rb
Instance Attribute Summary collapse
-
#filename_with_position ⇒ Object
readonly
Returns the value of attribute filename_with_position.
Instance Method Summary collapse
-
#initialize(filename_with_position) ⇒ Complete
constructor
A new instance of Complete.
- #run ⇒ Object
Methods inherited from Base
Constructor Details
#initialize(filename_with_position) ⇒ Complete
Returns a new instance of Complete.
9 10 11 |
# File 'lib/yoda/commands/complete.rb', line 9 def initialize(filename_with_position) @filename_with_position = filename_with_position end |
Instance Attribute Details
#filename_with_position ⇒ Object (readonly)
Returns the value of attribute filename_with_position.
6 7 8 |
# File 'lib/yoda/commands/complete.rb', line 6 def filename_with_position @filename_with_position end |
Instance Method Details
#run ⇒ Object
13 14 15 16 |
# File 'lib/yoda/commands/complete.rb', line 13 def run project.build_cache puts create_signature_help(worker.current_node_signature) end |