Class: IRB::Statement::EmptyInput

Inherits:
IRB::Statement show all
Defined in:
lib/irb/statement.rb

Instance Method Summary collapse

Instance Method Details

#codeObject



33
34
35
# File 'lib/irb/statement.rb', line 33

def code
  ""
end

#is_assignment?Boolean

Returns:

  • (Boolean)


20
21
22
# File 'lib/irb/statement.rb', line 20

def is_assignment?
  false
end

#should_be_handled_by_debugger?Boolean

Debugger takes empty input to repeat the last command

Returns:

  • (Boolean)


29
30
31
# File 'lib/irb/statement.rb', line 29

def should_be_handled_by_debugger?
  true
end

#suppresses_echo?Boolean

Returns:

  • (Boolean)


24
25
26
# File 'lib/irb/statement.rb', line 24

def suppresses_echo?
  true
end