Class: RSpecAgent

Inherits:
Sublayer::Agents::Base show all
Defined in:
lib/sublayer/cli/commands/generators/example_agent.rb

Instance Method Summary collapse

Methods inherited from Sublayer::Agents::Base

check_status, goal_condition, #run, step, trigger, trigger_on_files_changed

Constructor Details

#initialize(implementation_file_path:, test_file_path:) ⇒ RSpecAgent

Returns a new instance of RSpecAgent.



2
3
4
5
6
# File 'lib/sublayer/cli/commands/generators/example_agent.rb', line 2

def initialize(implementation_file_path:, test_file_path:)
  @implementation_file_path = implementation_file_path
  @test_file_path = test_file_path
  @tests_passing = false
end