類別 IRB::Statement::Expression
公開類別方法
new(code, is_assignment) 按一下以切換來源
# File lib/irb/statement.rb, line 24 def initialize(code, is_assignment) @code = code @is_assignment = is_assignment end
公開實例方法
evaluable_code() 按一下以切換來源
# File lib/irb/statement.rb, line 41 def evaluable_code @code end
is_assignment?() 按一下以切換來源
# File lib/irb/statement.rb, line 37 def is_assignment? @is_assignment end
should_be_handled_by_debugger?() 按一下以切換來源
# File lib/irb/statement.rb, line 33 def should_be_handled_by_debugger? true end
suppresses_echo?() 按一下以切換來源
# File lib/irb/statement.rb, line 29 def suppresses_echo? @code.match?(/;\s*\z/) end