$ irb -r expect4r --simple-prompt --noinspect
>> include Expect4r
=> Object
>> iost = Ios.new_telnet '192.168.131.11', 'lab', 'lab', 'secret_lab'
=> #<Expect4r::Ios:0x000000022ba190>
>> iost.login
=> #<Expect4r::Ios:0x000000022ba190>
>> iost.in?
=> exec
>> iost.logout
=> 
>> iost.login :no_enable=>true
=> #<Expect4r::Ios:0x000000022ba190>
>> iost.in?
=> user
>> iost.enable
=> [["term len 0\r\n", "R11#"], ["term width 0\r\n", "R11#"]]
>>