document.write('<link rel="stylesheet" href="http://gist.github.com/stylesheets/gist/embed.css"/>')





document.write('<div id=\"gist-177323\" class=\"gist\">\n  \n  \n    \n            \n\n      <div class=\"gist-file\">\n        <div class=\"gist-data gist-syntax\">\n          \n          \n          \n            <div class=\"gist-highlight\"><pre><div class=\"line\" id=\"LC1\">firm.to_xml :methods =&gt; [ :calculated_earnings, :real_earnings ]<\/div><div class=\"line\" id=\"LC2\">&nbsp;<\/div><div class=\"line\" id=\"LC3\">&lt;firm&gt;<\/div><div class=\"line\" id=\"LC4\">&nbsp;&nbsp;# ... normal attributes as shown above ...<\/div><div class=\"line\" id=\"LC5\">&nbsp;&nbsp;&lt;calculated-earnings&gt;100000000000000000&lt;/calculated-earnings&gt;<\/div><div class=\"line\" id=\"LC6\">&nbsp;&nbsp;&lt;real-earnings&gt;5&lt;/real-earnings&gt;<\/div><div class=\"line\" id=\"LC7\">&lt;/firm&gt;<\/div><\/pre><\/div>\n          \n        <\/div>\n\n        <div class=\"gist-meta\">\n          <a href=\"http://gist.github.com/raw/177323/1ab1f7cee8ff2f8c929dee7a46db91b970966e93/gistfile1.txt\" style=\"float:right;\">view raw<\/a>\n          <a href=\"http://gist.github.com/177323#file_gistfile1.txt\" style=\"float:right;margin-right:10px;color:#666\">gistfile1.txt<\/a>\n          <a href=\"http://gist.github.com/177323\">This Gist<\/a> brought to you by <a href=\"http://github.com\">GitHub<\/a>.\n        <\/div>\n      <\/div>\n    \n  \n<\/div>\n')
