Class: StepSequencer::REPL

Inherits:
Object
  • Object
show all
Defined in:
lib/step_sequencer/repl.rb

Defined Under Namespace

Classes: Helpers

Class Method Summary collapse

Class Method Details

.runObject

Makes all the instance methods of Helpers available to REPL The binding.pry here is not a remnant of bug-hunting, this is how the REPL starts



6
7
8
9
10
11
# File 'lib/step_sequencer/repl.rb', line 6

def self.run
  self::Helpers.new.instance_exec do
    docs
    Pry.start(self)
  end
end