Module: Rtml::ReverseEngineering::Simulator::Casting

Included in:
Hpricot::Doc, Hpricot::Elem, String
Defined in:
lib/rtml/reverse_engineering/simulator/casting.rb

Instance Method Summary collapse

Instance Method Details

#to_tml_simulatorObject Also known as: to_rtml_simulator, to_simulator

Returns an instance of Rtml::ReverseEngineering::Simulator with self as the initialization argument.



3
4
5
# File 'lib/rtml/reverse_engineering/simulator/casting.rb', line 3

def to_tml_simulator
  Rtml::ReverseEngineering::Simulator.new(self)
end