Class: IRB::Statement

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

Direct Known Subclasses

Command, Expression

Defined Under Namespace

Classes: Command, Expression

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#codeObject (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_codeObject



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

def evaluable_code
  raise NotImplementedError
end

#is_assignment?Boolean

Returns:

  • (Boolean)

Raises:



7
8
9
# File 'lib/irb/statement.rb', line 7

def is_assignment?
  raise NotImplementedError
end

#should_be_handled_by_debugger?Boolean

Returns:

  • (Boolean)

Raises:



15
16
17
# File 'lib/irb/statement.rb', line 15

def should_be_handled_by_debugger?
  raise NotImplementedError
end

#suppresses_echo?Boolean

Returns:

  • (Boolean)

Raises:



11
12
13
# File 'lib/irb/statement.rb', line 11

def suppresses_echo?
  raise NotImplementedError
end