Module: RubyCodeAPI::Manipulation::Update::Value

Included in:
RubyCodeAPI::Manipulation::Update
Defined in:
lib/manipulation/update/value.rb

Instance Method Summary collapse

Instance Method Details

#replace_value(options) ⇒ Object



5
6
7
8
9
# File 'lib/manipulation/update/value.rb', line 5

def replace_value(options)
  if self.class == Ruby::Assignment 
    self.right.token = options[:value]
  end
end