Created
March 28, 2016 14:12
-
-
Save nmattam/30664915d2b49e57cdb9 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2.1.5 :052 > te.at_xpath('/license/payload/expiration_time/text()') | |
=> #<Nokogiri::XML::Text:0x3fd9088d6398 "1474469242"> | |
2.1.5 :053 > te.at_xpath('/license/payload/expiration_time/text()').to_s | |
=> "1474469242" | |
2.1.5 :054 > te.at_xpath('/license/payload/expiration_time/text()').to_s.to_i | |
=> 1474469242 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment