Class: Yoda::Commands::Infer
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) ⇒ Infer
constructor
A new instance of Infer.
- #run ⇒ Object
Methods inherited from Base
Constructor Details
#initialize(filename_with_position) ⇒ Infer
Returns a new instance of Infer.
7 8 9 |
# File 'lib/yoda/commands/infer.rb', line 7 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.
4 5 6 |
# File 'lib/yoda/commands/infer.rb', line 4 def filename_with_position @filename_with_position end |
Instance Method Details
#run ⇒ Object
11 12 13 14 |
# File 'lib/yoda/commands/infer.rb', line 11 def run project.build_cache puts create_signature_help(worker.current_node_signature) end |