class Pry::Larry::LarryCommand
Constants
- START_COMMANDS
- TENSE_MAPPING
Public Instance Methods
process(input)
click to toggle source
# File lib/pry-larry.rb, line 61 def process(input) if START_COMMANDS.include?(input) Pry::Larry.start(_pry_) _pry_.pager.page("Alright, I have #{TENSE_MAPPING[input]}.") else Pry::Larry.stop(_pry_) _pry_.pager.page("Alright, I have #{TENSE_MAPPING[input]}.") end end