Class: IRB::Statement
Direct Known Subclasses
Defined Under Namespace
Classes: Command, Expression
Instance Attribute Summary collapse
-
#code ⇒ Object
readonly
Returns the value of attribute code.
Instance Method Summary collapse
- #evaluable_code ⇒ Object
- #is_assignment? ⇒ Boolean
- #should_be_handled_by_debugger? ⇒ Boolean
- #suppresses_echo? ⇒ Boolean
Instance Attribute Details
#code ⇒ Object (readonly)
Returns the value of attribute code.
5 6 7 |
# File 'lib/irb/statement.rb', line 5 def code @code end |
Instance Method Details
#evaluable_code ⇒ Object
19 20 21 |
# File 'lib/irb/statement.rb', line 19 def evaluable_code raise NotImplementedError end |
#is_assignment? ⇒ Boolean
7 8 9 |
# File 'lib/irb/statement.rb', line 7 def is_assignment? raise NotImplementedError end |
#should_be_handled_by_debugger? ⇒ Boolean
15 16 17 |
# File 'lib/irb/statement.rb', line 15 def should_be_handled_by_debugger? raise NotImplementedError end |
#suppresses_echo? ⇒ Boolean
11 12 13 |
# File 'lib/irb/statement.rb', line 11 def suppresses_echo? raise NotImplementedError end |