Class: Rubinius::ToolSet.current::TS::AST::Node::TransformState

Inherits:
Object
  • Object
show all
Defined in:
lib/rubinius/ast/node.rb

Overview

Manage the state of the #transform method.

Instance Method Summary collapse

Instance Method Details

#initializedObject



236
237
238
# File 'lib/rubinius/ast/node.rb', line 236

def initialized
  @modified = false
end

#modified?Boolean

Returns:

  • (Boolean)


240
241
242
# File 'lib/rubinius/ast/node.rb', line 240

def modified?
  @modified
end

#modifyObject



244
245
246
# File 'lib/rubinius/ast/node.rb', line 244

def modify
  @modified = true
end

#unmodifyObject



248
249
250
# File 'lib/rubinius/ast/node.rb', line 248

def unmodify
  @modified = false
end