class IRB::Statement::Expression

Public Class Methods

# File lib/irb/statement.rb, line 39
def initialize(code, is_assignment)
  @code = code
  @is_assignment = is_assignment
end

Public Instance Methods

# File lib/irb/statement.rb, line 52
def is_assignment?
  @is_assignment
end
# File lib/irb/statement.rb, line 48
def should_be_handled_by_debugger?
  true
end
# File lib/irb/statement.rb, line 44
def suppresses_echo?
  @code.match?(/;\s*\z/)
end