/Languages/Ruby/Docs/readme.htm
HTML | 9785 lines | 8903 code | 838 blank | 44 comment | 0 complexity | 43f32b6db54dd4ef12902dcbeb434897 MD5 | raw file
Possible License(s): CPL-1.0, BSD-3-Clause, ISC, GPL-2.0, MPL-2.0-no-copyleft-exception
Large files files are truncated, but you can click here to view the full file
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
- <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
- <head>
- <script type="text/javascript">
- //<![CDATA[
- var version = {title: "TiddlyWiki", major: 2, minor: 2, revision: 4, date: new Date("Jun 19, 2007"), extensions: {}};
- //]]>
- </script>
- <!--
- TiddlyWiki created by Jeremy Ruston, (jeremy [at] osmosoft [dot] com)
- Copyright (c) UnaMesa Association 2004-2007
- Redistribution and use in source and binary forms, with or without modification,
- are permitted provided that the following conditions are met:
- Redistributions of source code must retain the above copyright notice, this
- list of conditions and the following disclaimer.
- Redistributions in binary form must reproduce the above copyright notice, this
- list of conditions and the following disclaimer in the documentation and/or other
- materials provided with the distribution.
- Neither the name of the UnaMesa Association nor the names of its contributors may be
- used to endorse or promote products derived from this software without specific
- prior written permission.
- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY
- EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
- OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT
- SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED
- TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
- BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
- CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
- ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
- DAMAGE.
- -->
- <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
- <!--PRE-HEAD-START-->
- <!--{{{-->
- <link rel='alternate' type='application/rss+xml' title='RSS' href='index.xml'/>
- <!--}}}-->
- <!--PRE-HEAD-END-->
- <title> IronRuby Docs - Developer documentation for Microsoft IronRuby </title>
- <style type="text/css">
- #saveTest {display:none;}
- #messageArea {display:none;}
- #copyright {display:none;}
- #storeArea {display:none;}
- #storeArea div {padding:0.5em; margin:1em 0em 0em 0em; border-color:#fff #666 #444 #ddd; border-style:solid; border-width:2px; overflow:auto;}
- #shadowArea {display:none;}
- #javascriptWarning {width:100%; text-align:center; font-weight:bold; background-color:#dd1100; color:#fff; padding:1em 0em;}
- </style>
- <!--POST-HEAD-START-->
- <!--POST-HEAD-END-->
- </head>
- <body onload="main();" onunload="if(window.checkUnsavedChanges) checkUnsavedChanges(); if(window.scrubNodes) scrubNodes(document.body);">
- <!--PRE-BODY-START-->
- <!--PRE-BODY-END-->
- <div id="copyright">
- Welcome to TiddlyWiki created by Jeremy Ruston, Copyright © 2007 UnaMesa Association
- </div>
- <noscript>
- <div id="javascriptWarning">This page requires JavaScript to function properly.<br /><br />If you are using Microsoft Internet Explorer you may need to click on the yellow bar above and select 'Allow Blocked Content'. You must then click 'Yes' on the following security warning.</div>
- </noscript>
- <div id="saveTest"></div>
- <div id="backstageCloak"></div>
- <div id="backstageButton"></div>
- <div id="backstageArea"><div id="backstageToolbar"></div></div>
- <div id="backstage">
- <div id="backstagePanel"></div>
- </div>
- <div id="contentWrapper"></div>
- <div id="contentStash"></div>
- <div id="shadowArea">
- <div title="ColorPalette">
- <pre>Background: #fff
- Foreground: #000
- PrimaryPale: #8cf
- PrimaryLight: #18f
- PrimaryMid: #04b
- PrimaryDark: #014
- SecondaryPale: #ffc
- SecondaryLight: #fe8
- SecondaryMid: #db4
- SecondaryDark: #841
- TertiaryPale: #eee
- TertiaryLight: #ccc
- TertiaryMid: #999
- TertiaryDark: #666
- Error: #f88</pre>
- </div>
- <div title="StyleSheetColors">
- <pre>/*{{{*/
- body {background:[[ColorPalette::Background]]; color:[[ColorPalette::Foreground]];}
- a {color:[[ColorPalette::PrimaryMid]];}
- a:hover {background-color:[[ColorPalette::PrimaryMid]]; color:[[ColorPalette::Background]];}
- a img {border:0;}
- h1,h2,h3,h4,h5,h6 {color:[[ColorPalette::SecondaryDark]]; background:transparent;}
- h1 {border-bottom:2px solid [[ColorPalette::TertiaryLight]];}
- h2,h3 {border-bottom:1px solid [[ColorPalette::TertiaryLight]];}
- .button {color:[[ColorPalette::PrimaryDark]]; border:1px solid [[ColorPalette::Background]];}
- .button:hover {color:[[ColorPalette::PrimaryDark]]; background:[[ColorPalette::SecondaryLight]]; border-color:[[ColorPalette::SecondaryMid]];}
- .button:active {color:[[ColorPalette::Background]]; background:[[ColorPalette::SecondaryMid]]; border:1px solid [[ColorPalette::SecondaryDark]];}
- .header {background:[[ColorPalette::PrimaryMid]];}
- .headerShadow {color:[[ColorPalette::Foreground]];}
- .headerShadow a {font-weight:normal; color:[[ColorPalette::Foreground]];}
- .headerForeground {color:[[ColorPalette::Background]];}
- .headerForeground a {font-weight:normal; color:[[ColorPalette::PrimaryPale]];}
- .tabSelected{color:[[ColorPalette::PrimaryDark]];
- background:[[ColorPalette::TertiaryPale]];
- border-left:1px solid [[ColorPalette::TertiaryLight]];
- border-top:1px solid [[ColorPalette::TertiaryLight]];
- border-right:1px solid [[ColorPalette::TertiaryLight]];
- }
- .tabUnselected {color:[[ColorPalette::Background]]; background:[[ColorPalette::TertiaryMid]];}
- .tabContents {color:[[ColorPalette::PrimaryDark]]; background:[[ColorPalette::TertiaryPale]]; border:1px solid [[ColorPalette::TertiaryLight]];}
- .tabContents .button {border:0;}
- #sidebar {}
- #sidebarOptions input {border:1px solid [[ColorPalette::PrimaryMid]];}
- #sidebarOptions .sliderPanel {background:[[ColorPalette::PrimaryPale]];}
- #sidebarOptions .sliderPanel a {border:none;color:[[ColorPalette::PrimaryMid]];}
- #sidebarOptions .sliderPanel a:hover {color:[[ColorPalette::Background]]; background:[[ColorPalette::PrimaryMid]];}
- #sidebarOptions .sliderPanel a:active {color:[[ColorPalette::PrimaryMid]]; background:[[ColorPalette::Background]];}
- .wizard {background:[[ColorPalette::PrimaryPale]]; border:1px solid [[ColorPalette::PrimaryMid]];}
- .wizard h1 {color:[[ColorPalette::PrimaryDark]]; border:none;}
- .wizard h2 {color:[[ColorPalette::Foreground]]; border:none;}
- .wizardStep {background:[[ColorPalette::Background]]; color:[[ColorPalette::Foreground]];
- border:1px solid [[ColorPalette::PrimaryMid]];}
- .wizardStep.wizardStepDone {background::[[ColorPalette::TertiaryLight]];}
- .wizardFooter {background:[[ColorPalette::PrimaryPale]];}
- .wizardFooter .status {background:[[ColorPalette::PrimaryDark]]; color:[[ColorPalette::Background]];}
- .wizard .button {color:[[ColorPalette::Foreground]]; background:[[ColorPalette::SecondaryLight]]; border: 1px solid;
- border-color:[[ColorPalette::SecondaryPale]] [[ColorPalette::SecondaryDark]] [[ColorPalette::SecondaryDark]] [[ColorPalette::SecondaryPale]];}
- .wizard .button:hover {color:[[ColorPalette::Foreground]]; background:[[ColorPalette::Background]];}
- .wizard .button:active {color:[[ColorPalette::Background]]; background:[[ColorPalette::Foreground]]; border: 1px solid;
- border-color:[[ColorPalette::PrimaryDark]] [[ColorPalette::PrimaryPale]] [[ColorPalette::PrimaryPale]] [[ColorPalette::PrimaryDark]];}
- #messageArea {border:1px solid [[ColorPalette::SecondaryMid]]; background:[[ColorPalette::SecondaryLight]]; color:[[ColorPalette::Foreground]];}
- #messageArea .button {color:[[ColorPalette::PrimaryMid]]; background:[[ColorPalette::SecondaryPale]]; border:none;}
- .popupTiddler {background:[[ColorPalette::TertiaryPale]]; border:2px solid [[ColorPalette::TertiaryMid]];}
- .popup {background:[[ColorPalette::TertiaryPale]]; color:[[ColorPalette::TertiaryDark]]; border-left:1px solid [[ColorPalette::TertiaryMid]]; border-top:1px solid [[ColorPalette::TertiaryMid]]; border-right:2px solid [[ColorPalette::TertiaryDark]]; border-bottom:2px solid [[ColorPalette::TertiaryDark]];}
- .popup hr {color:[[ColorPalette::PrimaryDark]]; background:[[ColorPalette::PrimaryDark]]; border-bottom:1px;}
- .popup li.disabled {color:[[ColorPalette::TertiaryMid]];}
- .popup li a, .popup li a:visited {color:[[ColorPalette::Foreground]]; border: none;}
- .popup li a:hover {background:[[ColorPalette::SecondaryLight]]; color:[[ColorPalette::Foreground]]; border: none;}
- .popup li a:active {background:[[ColorPalette::SecondaryPale]]; color:[[ColorPalette::Foreground]]; border: none;}
- .popupHighlight {background:[[ColorPalette::Background]]; color:[[ColorPalette::Foreground]];}
- .listBreak div {border-bottom:1px solid [[ColorPalette::TertiaryDark]];}
- .tiddler .defaultCommand {font-weight:bold;}
- .shadow .title {color:[[ColorPalette::TertiaryDark]];}
- .title {color:[[ColorPalette::SecondaryDark]];}
- .subtitle {color:[[ColorPalette::TertiaryDark]];}
- .toolbar {color:[[ColorPalette::PrimaryMid]];}
- .toolbar a {color:[[ColorPalette::TertiaryLight]];}
- .selected .toolbar a {color:[[ColorPalette::TertiaryMid]];}
- .selected .toolbar a:hover {color:[[ColorPalette::Foreground]];}
- .tagging, .tagged {border:1px solid [[ColorPalette::TertiaryPale]]; background-color:[[ColorPalette::TertiaryPale]];}
- .selected .tagging, .selected .tagged {background-color:[[ColorPalette::TertiaryLight]]; border:1px solid [[ColorPalette::TertiaryMid]];}
- .tagging .listTitle, .tagged .listTitle {color:[[ColorPalette::PrimaryDark]];}
- .tagging .button, .tagged .button {border:none;}
- .footer {color:[[ColorPalette::TertiaryLight]];}
- .selected .footer {color:[[ColorPalette::TertiaryMid]];}
- .sparkline {background:[[ColorPalette::PrimaryPale]]; border:0;}
- .sparktick {background:[[ColorPalette::PrimaryDark]];}
- .error, .errorButton {color:[[ColorPalette::Foreground]]; background:[[ColorPalette::Error]];}
- .warning {color:[[ColorPalette::Foreground]]; background:[[ColorPalette::SecondaryPale]];}
- .lowlight {background:[[ColorPalette::TertiaryLight]];}
- .zoomer {background:none; color:[[ColorPalette::TertiaryMid]]; border:3px solid [[ColorPalette::TertiaryMid]];}
- .imageLink, #displayArea .imageLink {background:transparent;}
- .annotation {background:[[ColorPalette::SecondaryLight]]; color:[[ColorPalette::Foreground]]; border:2px solid [[ColorPalette::SecondaryMid]];}
- .viewer .listTitle {list-style-type:none; margin-left:-2em;}
- .viewer .button {border:1px solid [[ColorPalette::SecondaryMid]];}
- .viewer blockquote {border-left:3px solid [[ColorPalette::TertiaryDark]];}
- .viewer table, table.twtable {border:2px solid [[ColorPalette::TertiaryDark]];}
- .viewer th, .viewer thead td, .twtable th, .twtable thead td {background:[[ColorPalette::SecondaryMid]]; border:1px solid [[ColorPalette::TertiaryDark]]; color:[[ColorPalette::Background]];}
- .viewer td, .viewer tr, .twtable td, .twtable tr {border:1px solid [[ColorPalette::TertiaryDark]];}
- .viewer pre {border:1px solid [[ColorPalette::SecondaryLight]]; background:[[ColorPalette::SecondaryPale]];}
- .viewer code {color:[[ColorPalette::SecondaryDark]];}
- .viewer hr {border:0; border-top:dashed 1px [[ColorPalette::TertiaryDark]]; color:[[ColorPalette::TertiaryDark]];}
- .highlight, .marked {background:[[ColorPalette::SecondaryLight]];}
- .editor input {border:1px solid [[ColorPalette::PrimaryMid]];}
- .editor textarea {border:1px solid [[ColorPalette::PrimaryMid]]; width:100%;}
- .editorFooter {color:[[ColorPalette::TertiaryMid]];}
- #backstageArea {background:[[ColorPalette::Foreground]]; color:[[ColorPalette::TertiaryMid]];}
- #backstageArea a {background:[[ColorPalette::Foreground]]; color:[[ColorPalette::Background]]; border:none;}
- #backstageArea a:hover {background:[[ColorPalette::SecondaryLight]]; color:[[ColorPalette::Foreground]]; }
- #backstageArea a.backstageSelTab {background:[[ColorPalette::Background]]; color:[[ColorPalette::Foreground]];}
- #backstageButton a {background:none; color:[[ColorPalette::Background]]; border:none;}
- #backstageButton a:hover {background:[[ColorPalette::Foreground]]; color:[[ColorPalette::Background]]; border:none;}
- #backstagePanel {background:[[ColorPalette::Background]]; border-color: [[ColorPalette::Background]] [[ColorPalette::TertiaryDark]] [[ColorPalette::TertiaryDark]] [[ColorPalette::TertiaryDark]];}
- .backstagePanelFooter .button {border:none; color:[[ColorPalette::Background]];}
- .backstagePanelFooter .button:hover {color:[[ColorPalette::Foreground]];}
- #backstageCloak {background:[[ColorPalette::Foreground]]; opacity:0.6; filter:'alpha(opacity:60)';}
- /*}}}*/</pre>
- </div>
- <div title="StyleSheetLayout">
- <pre>/*{{{*/
- * html .tiddler {height:1%;}
- body {font-size:.75em; font-family:arial,helvetica; margin:0; padding:0;}
- h1,h2,h3,h4,h5,h6 {font-weight:bold; text-decoration:none;}
- h1,h2,h3 {padding-bottom:1px; margin-top:1.2em;margin-bottom:0.3em;}
- h4,h5,h6 {margin-top:1em;}
- h1 {font-size:1.35em;}
- h2 {font-size:1.25em;}
- h3 {font-size:1.1em;}
- h4 {font-size:1em;}
- h5 {font-size:.9em;}
- hr {height:1px;}
- a {text-decoration:none;}
- dt {font-weight:bold;}
- ol {list-style-type:decimal;}
- ol ol {list-style-type:lower-alpha;}
- ol ol ol {list-style-type:lower-roman;}
- ol ol ol ol {list-style-type:decimal;}
- ol ol ol ol ol {list-style-type:lower-alpha;}
- ol ol ol ol ol ol {list-style-type:lower-roman;}
- ol ol ol ol ol ol ol {list-style-type:decimal;}
- .txtOptionInput {width:11em;}
- #contentWrapper .chkOptionInput {border:0;}
- .externalLink {text-decoration:underline;}
- .indent {margin-left:3em;}
- .outdent {margin-left:3em; text-indent:-3em;}
- code.escaped {white-space:nowrap;}
- .tiddlyLinkExisting {font-weight:bold;}
- .tiddlyLinkNonExisting {font-style:italic;}
- /* the 'a' is required for IE, otherwise it renders the whole tiddler in bold */
- a.tiddlyLinkNonExisting.shadow {font-weight:bold;}
- #mainMenu .tiddlyLinkExisting,
- #mainMenu .tiddlyLinkNonExisting,
- #sidebarTabs .tiddlyLinkNonExisting {font-weight:normal; font-style:normal;}
- #sidebarTabs .tiddlyLinkExisting {font-weight:bold; font-style:normal;}
- .header {position:relative;}
- .header a:hover {background:transparent;}
- .headerShadow {position:relative; padding:4.5em 0em 1em 1em; left:-1px; top:-1px;}
- .headerForeground {position:absolute; padding:4.5em 0em 1em 1em; left:0px; top:0px;}
- .siteTitle {font-size:3em;}
- .siteSubtitle {font-size:1.2em;}
- #mainMenu {position:absolute; left:0; width:10em; text-align:right; line-height:1.6em; padding:1.5em 0.5em 0.5em 0.5em; font-size:1.1em;}
- #sidebar {position:absolute; right:3px; width:16em; font-size:.9em;}
- #sidebarOptions {padding-top:0.3em;}
- #sidebarOptions a {margin:0em 0.2em; padding:0.2em 0.3em; display:block;}
- #sidebarOptions input {margin:0.4em 0.5em;}
- #sidebarOptions .sliderPanel {margin-left:1em; padding:0.5em; font-size:.85em;}
- #sidebarOptions .sliderPanel a {font-weight:bold; display:inline; padding:0;}
- #sidebarOptions .sliderPanel input {margin:0 0 .3em 0;}
- #sidebarTabs .tabContents {width:15em; overflow:hidden;}
- .wizard {padding:0.1em 1em 0em 2em;}
- .wizard h1 {font-size:2em; font-weight:bold; background:none; padding:0em 0em 0em 0em; margin:0.4em 0em 0.2em 0em;}
- .wizard h2 {font-size:1.2em; font-weight:bold; background:none; padding:0em 0em 0em 0em; margin:0.4em 0em 0.2em 0em;}
- .wizardStep {padding:1em 1em 1em 1em;}
- .wizard .button {margin:0.5em 0em 0em 0em; font-size:1.2em;}
- .wizardFooter {padding:0.8em 0.4em 0.8em 0em;}
- .wizardFooter .status {padding:0em 0.4em 0em 0.4em; margin-left:1em;}
- .wizard .button {padding:0.1em 0.2em 0.1em 0.2em;}
- #messageArea {position:fixed; top:2em; right:0em; margin:0.5em; padding:0.5em; z-index:2000; _position:absolute;}
- .messageToolbar {display:block; text-align:right; padding:0.2em 0.2em 0.2em 0.2em;}
- #messageArea a {text-decoration:underline;}
- .tiddlerPopupButton {padding:0.2em 0.2em 0.2em 0.2em;}
- .popupTiddler {position: absolute; z-index:300; padding:1em 1em 1em 1em; margin:0;}
- .popup {position:absolute; z-index:300; font-size:.9em; padding:0; list-style:none; margin:0;}
- .popup .popupMessage {padding:0.4em;}
- .popup hr {display:block; height:1px; width:auto; padding:0; margin:0.2em 0em;}
- .popup li.disabled {padding:0.4em;}
- .popup li a {display:block; padding:0.4em; font-weight:normal; cursor:pointer;}
- .listBreak {font-size:1px; line-height:1px;}
- .listBreak div {margin:2px 0;}
- .tabset {padding:1em 0em 0em 0.5em;}
- .tab {margin:0em 0em 0em 0.25em; padding:2px;}
- .tabContents {padding:0.5em;}
- .tabContents ul, .tabContents ol {margin:0; padding:0;}
- .txtMainTab .tabContents li {list-style:none;}
- .tabContents li.listLink { margin-left:.75em;}
- #contentWrapper {display:block;}
- #splashScreen {display:none;}
- #displayArea {margin:1em 17em 0em 14em;}
- .toolbar {text-align:right; font-size:.9em;}
- .tiddler {padding:1em 1em 0em 1em;}
- .missing .viewer,.missing .title {font-style:italic;}
- .title {font-size:1.6em; font-weight:bold;}
- .missing .subtitle {display:none;}
- .subtitle {font-size:1.1em;}
- .tiddler .button {padding:0.2em 0.4em;}
- .tagging {margin:0.5em 0.5em 0.5em 0; float:left; display:none;}
- .isTag .tagging {display:block;}
- .tagged {margin:0.5em; float:right;}
- .tagging, .tagged {font-size:0.9em; padding:0.25em;}
- .tagging ul, .tagged ul {list-style:none; margin:0.25em; padding:0;}
- .tagClear {clear:both;}
- .footer {font-size:.9em;}
- .footer li {display:inline;}
- .annotation {padding:0.5em; margin:0.5em;}
- * html .viewer pre {width:99%; padding:0 0 1em 0;}
- .viewer {line-height:1.4em; padding-top:0.5em;}
- .viewer .button {margin:0em 0.25em; padding:0em 0.25em;}
- .viewer blockquote {line-height:1.5em; padding-left:0.8em;margin-left:2.5em;}
- .viewer ul, .viewer ol {margin-left:0.5em; padding-left:1.5em;}
- .viewer table, table.twtable {border-collapse:collapse; margin:0.8em 1.0em;}
- .viewer th, .viewer td, .viewer tr,.viewer caption,.twtable th, .twtable td, .twtable tr,.twtable caption {padding:3px;}
- table.listView {font-size:0.85em; margin:0.8em 1.0em;}
- table.listView th, table.listView td, table.listView tr {padding:0px 3px 0px 3px;}
- .viewer pre {padding:0.5em; margin-left:0.5em; font-size:1.2em; line-height:1.4em; overflow:auto;}
- .viewer code {font-size:1.2em; line-height:1.4em;}
- .editor {font-size:1.1em;}
- .editor input, .editor textarea {display:block; width:100%; font:inherit;}
- .editorFooter {padding:0.25em 0em; font-size:.9em;}
- .editorFooter .button {padding-top:0px; padding-bottom:0px;}
- .fieldsetFix {border:0; padding:0; margin:1px 0px 1px 0px;}
- .sparkline {line-height:1em;}
- .sparktick {outline:0;}
- .zoomer {font-size:1.1em; position:absolute; overflow:hidden;}
- .zoomer div {padding:1em;}
- * html #backstage {width:99%;}
- * html #backstageArea {width:99%;}
- #backstageArea {display:none; position:relative; overflow: hidden; z-index:150; padding:0.3em 0.5em 0.3em 0.5em;}
- #backstageToolbar {position:relative;}
- #backstageArea a {font-weight:bold; margin-left:0.5em; padding:0.3em 0.5em 0.3em 0.5em;}
- #backstageButton {display:none; position:absolute; z-index:175; top:0em; right:0em;}
- #backstageButton a {padding:0.1em 0.4em 0.1em 0.4em; margin:0.1em 0.1em 0.1em 0.1em;}
- #backstage {position:relative; width:100%; z-index:50;}
- #backstagePanel {display:none; z-index:100; position:absolute; margin:0em 3em 0em 3em; padding:1em 1em 1em 1em;}
- .backstagePanelFooter {padding-top:0.2em; float:right;}
- .backstagePanelFooter a {padding:0.2em 0.4em 0.2em 0.4em;}
- #backstageCloak {display:none; z-index:20; position:absolute; width:100%; height:100px;}
- .whenBackstage {display:none;}
- .backstageVisible .whenBackstage {display:block;}
- /*}}}*/</pre>
- </div>
- <div title="StyleSheetLocale">
- <pre>/***
- StyleSheet for use when a translation requires any css style changes.
- This StyleSheet can be used directly by languages such as Chinese, Japanese and Korean which use a logographic writing system and need larger font sizes.
- ***/
- /*{{{*/
- body {font-size:0.8em;}
- #sidebarOptions {font-size:1.05em;}
- #sidebarOptions a {font-style:normal;}
- #sidebarOptions .sliderPanel {font-size:0.95em;}
- .subtitle {font-size:0.8em;}
- .viewer table.listView {font-size:0.95em;}
- .htmlarea .toolbarHA table {border:1px solid ButtonFace; margin:0em 0em;}
- /*}}}*/</pre>
- </div>
- <div title="StyleSheetPrint">
- <pre>/*{{{*/
- @media print {
- #mainMenu, #sidebar, #messageArea, .toolbar, #backstageButton {display: none ! important;}
- #displayArea {margin: 1em 1em 0em 1em;}
- /* Fixes a feature in Firefox 1.5.0.2 where print preview displays the noscript content */
- noscript {display:none;}
- }
- /*}}}*/</pre>
- </div>
- <div title="PageTemplate">
- <pre><!--{{{-->
- <div class='header' macro='gradient vert [[ColorPalette::PrimaryLight]] [[ColorPalette::PrimaryMid]]'>
- <div class='headerShadow'>
- <span class='siteTitle' refresh='content' tiddler='SiteTitle'></span>&nbsp;
- <span class='siteSubtitle' refresh='content' tiddler='SiteSubtitle'></span>
- </div>
- <div class='headerForeground'>
- <span class='siteTitle' refresh='content' tiddler='SiteTitle'></span>&nbsp;
- <span class='siteSubtitle' refresh='content' tiddler='SiteSubtitle'></span>
- </div>
- </div>
- <div id='mainMenu' refresh='content' tiddler='MainMenu'></div>
- <div id='sidebar'>
- <div id='sidebarOptions' refresh='content' tiddler='SideBarOptions'></div>
- <div id='sidebarTabs' refresh='content' force='true' tiddler='SideBarTabs'></div>
- </div>
- <div id='displayArea'>
- <div id='messageArea'></div>
- <div id='tiddlerDisplay'></div>
- </div>
- <!--}}}--></pre>
- </div>
- <div title="ViewTemplate">
- <pre><!--{{{-->
- <div class='toolbar' macro='toolbar closeTiddler closeOthers +editTiddler > fields syncing permalink references jump'></div>
- <div class='title' macro='view title'></div>
- <div class='subtitle'><span macro='view modifier link'></span>, <span macro='view modified date'></span> (<span macro='message views.wikified.createdPrompt'></span> <span macro='view created date'></span>)</div>
- <div class='tagging' macro='tagging'></div>
- <div class='tagged' macro='tags'></div>
- <div class='viewer' macro='view text wikified'></div>
- <div class='tagClear'></div>
- <!--}}}--></pre>
- </div>
- <div title="EditTemplate">
- <pre><!--{{{-->
- <div class='toolbar' macro='toolbar +saveTiddler -cancelTiddler deleteTiddler'></div>
- <div class='title' macro='view title'></div>
- <div class='editor' macro='edit title'></div>
- <div macro='annotations'></div>
- <div class='editor' macro='edit text'></div>
- <div class='editor' macro='edit tags'></div><div class='editorFooter'><span macro='message views.editor.tagPrompt'></span><span macro='tagChooser'></span></div>
- <!--}}}--></pre>
- </div>
- <div title="GettingStarted">
- <pre>To get started with this blank TiddlyWiki, you'll need to modify the following tiddlers:
- * SiteTitle & SiteSubtitle: The title and subtitle of the site, as shown above (after saving, they will also appear in the browser title bar)
- * MainMenu: The menu (usually on the left)
- * DefaultTiddlers: Contains the names of the tiddlers that you want to appear when the TiddlyWiki is opened
- You'll also need to enter your username for signing your edits: <<option txtUserName>></pre>
- </div>
- <div title="OptionsPanel">
- <pre>These InterfaceOptions for customising TiddlyWiki are saved in your browser
- Your username for signing your edits. Write it as a WikiWord (eg JoeBloggs)
- <<option txtUserName>>
- <<option chkSaveBackups>> SaveBackups
- <<option chkAutoSave>> AutoSave
- <<option chkRegExpSearch>> RegExpSearch
- <<option chkCaseSensitiveSearch>> CaseSensitiveSearch
- <<option chkAnimate>> EnableAnimations
- ----
- Also see AdvancedOptions</pre>
- </div>
- </div>
- <!--POST-SHADOWAREA-->
- <div id="storeArea">
- <div title="AddAMethod" modifier="JohnLam" modified="200707190023" created="200707182349" changecount="3">
- <pre>!Implementation
- Let's add a {{{downcase}}} method to the MutableString class. This is the simplest kind of method - it accepts no parameters and returns a MutableString.
- MutableString lives in Ruby\Builtins\MutableString.cs. Its unit tests live in Tests\Builtins\String\test_string.rb. Here's one possible implementation of this method:
- {{{
- [RubyMethodAttribute("downcase", RubyMethodAttributes.PublicInstance)]
- public static MutableString DownCase(MutableString str) {
- MutableString result = new MutableString(str);
- DownCaseMutableString(result);
- return result;
- }
- }}}
- Notice that the method is a _static_ method. DLR provides its own version of C#
- 3.0's ExtensionMethods. In library code, all methods are implemented as ''static''
- methods on the type, particularly if its on a type that we define (which is the case with MutableString).
- If it's a type that we don't define, such as Int32, we define our extension
- methods in a class that has the suffix "Ops" attached to the name. In the case
- of Int32, which is really a Ruby Fixnum type, our extension methods are
- implemented in a type called FixnumOps.
- Notice that we have attached a RubyMethodAttribute to this class. This attribute
- defines the Ruby-callable name of the method since Ruby supports method names
- that are illegal in C#, such as "downcase!". The RubyMethodAttributes
- enumeration defines the instancing and visibility of the method; in this case we
- are defining a public instance method on the String type.
- !Unit Tests
- Next, we have to implement the unit tests. In this early implementation of
- IronRuby, we support a simple form of RSpec tests. The testing framework can be
- found in Ruby\Tests\Util\simple_test.rb. Here's an implementation of the tests:
- {{{
- describe "String#downcase" do
- it "returns a copy of self with all uppercase letters downcased" do
- "hELLO".downcase.should == "hello"
- "hello".downcase.should == "hello"
- end
-
- it "is locale insensitive (only replacing A-Z)" do
- "ÄÖÜ".downcase.should == "ÄÖÜ"
- end
- end
- }}}
- Next up, lets define a method that AcceptsParameters.
- </pre>
- </div>
- <div title="CodingStandards" modifier="JohnLam" modified="200707192257" created="200707192056" changecount="8">
- <pre>IronRuby uses four-space indentation. Tabs must be expanded as spaces. No exceptions.
- Public names are subject to FxCop rules.
- !!Private class member variables start with underscore “_”:
- {{{
- class MyClass {
- private string _name;
- public MyClass(string name) {
- _name = name;
- }
- }
- }}}
- !!Static variable names start with underscore followed by upper case letter:
- {{{
- _StaticVar
- }}}
- !!Open brace on same line as code:
- {{{
- if (true) {
- DoSomething();
- }
- }}}
- !!Member variables should be declared at the top of a class declaration:
- {{{
- class MyClass {
- private string _name;
- public MyClass(string name) {
- _name = name;
- }
- // Additional Code Here
- public string Name {
- get { return _name; }
- set { _name = value; }
- }
- }
- }}}
- Not:
- {{{
- class MyClass {
- public MyClass(string name) {
- _name = name;
- }
- // Additional Code Here
- private string _name;
- public string Name {
- get { return _name; }
- set { _name = value; }
- }
- }
- }}}
- IronRuby uses uniform formatting of the C# code. Set your editor to use the IronRuby.vssettings file to set handling of tabs and formatting of the code. This file is located in the root directory of the IronRuby project.
- To use the team settings in Visual Studio, go to Tools->Options… Expand the “Environment” node, select “Import and Export Settings”. Check the “Use team settings file” and browse to the "IronRuby.vssettings” file located in your workspace.</pre>
- </div>
- <div title="CompileSources" modifier="JohnLam" created="200707230557" changecount="1">
- <pre>You can compile IronRuby by running {{build.cmd}} from the root directory of your IronRuby source distribution. You must have the .NET 2.0 Framework redistributable installed, since the build scripts rely on MSBuild.
- This will generate a release mode build of IronRuby in the \bin\release directory of your source distribution.</pre>
- </div>
- <div title="DefaultTiddlers" modifier="JohnLam" created="200707191650" changecount="1">
- <pre>IronRuby</pre>
- </div>
- <div title="ExtensionMethods" modifier="JohnLam" modified="200707190026" created="200707190025" changecount="3">
- <pre>Extension methods let us add methods (instance and static) to types that we didn't define. The DLR method dispatch mechanism generates the correct code to call these methods.
- For more details on C# 3.0 extension methods, see <<some article>></pre>
- </div>
- <div title="IronRuby" modifier="JohnLam" modified="200707230555" created="200707181616" changecount="8">
- <pre>Welcome to the IronRuby project!
- The current version of IronRuby is the 0.1 Pre-Alpha, released on July 23.
- IronRuby is licensed under the terms of the Apache License, Version 2.0.
- This release of IronRuby ships only in source form. You must CompileSources first.
- If you're new here, make sure you read the NewDev page first. We're currently looking for contributions in the StandardLibraries, which you can find under \ironruby\src\ironrubylibs\.
- </pre>
- </div>
- <div title="IronRubyLibraries" modifier="JohnLam" modified="200707191539" created="200707181722" changecount="3">
- <pre>We are dividing the IronRuby libraries into BuiltIns and StandardLibraries. This is the area of IronRuby where we need external help the most.
- Make sure that you follow the CodingConventions.
- If this is your first contribution, read the tutorial on how to AddAMethod to an existing type.
- </pre>
- </div>
- <div title="JohnLam" modifier="JohnLam" created="200707181617" changecount="1">
- <pre>John Lam is an IronRuby core team member, and a Program Manager on the DynamicLanguageRuntime team at Microsoft.
- John tracks the progress of the IronRuby project on his blog, http://www.iunknown.com
- </pre>
- </div>
- <div title="MSBuild" modifier="JohnLam" created="200707181702" changecount="1">
- <pre>It ships with the [[.NET 2.0 Framework redist|http://www.microsoft.com/downloads/details.aspx?FamilyID=0856EACB-4362-4B0D-8EDD-AAB15C5E04F5&displaylang=en]]. We have build scripts to help you build the projects and run the unit tests.
- </pre>
- </div>
- <div title="MainMenu" modifier="JohnLam" created="200707191729" changecount="1">
- <pre>IronRuby</pre>
- </div>
- <div title="Apache" modifier="DinoViehland" modified="201007081732" created="200707181707" changecount="3"><pre>
- Apache License
- Version 2.0, January 2004
- http://www.apache.org/licenses/
- TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
- 1. Definitions.
- "License" shall mean the terms and conditions for use, reproduction, and distribution as defined by Sections 1 through 9 of this document.
- "Licensor" shall mean the copyright owner or entity authorized by the copyright owner that is granting the License.
- "Legal Entity" shall mean the union of the acting entity and all other entities that control, are controlled by, or are under common control with that entity. For the purposes of this definition, "control" means (i) the power, direct or indirect, to cause the direction or management of such entity, whether by contract or otherwise, or (ii) ownership of fifty percent (50%) or more of the outstanding shares, or (iii) beneficial ownership of such entity.
- "You" (or "Your") shall mean an individual or Legal Entity exercising permissions granted by this License.
- "Source" form shall mean the preferred form for making modifications, including but not limited to software source code, documentation source, and configuration files.
- "Object" form shall mean any form resulting from mechanical transformation or translation of a Source form, including but not limited to compiled object code, generated documentation, and conversions to other media types.
- "Work" shall mean the work of authorship, whether in Source or Object form, made available under the License, as indicated by a copyright notice that is included in or attached to the work (an example is provided in the Appendix below).
- "Derivative Works" shall mean any work, whether in Source or Object form, that is based on (or derived from) the Work and for which the editorial revisions, annotations, elaborations, or other modifications represent, as a whole, an original work of authorship. For the purposes of this License, Derivative Works shall not include works that remain separable from, or merely link (or bind by name) to the interfaces of, the Work and Derivative Works thereof.
- "Contribution" shall mean any work of authorship, including the original version of the Work and any modifications or additions to that Work or Derivative Works thereof, that is intentionally submitted to Licensor for inclusion in the Work by the copyright owner or by an individual or Legal Entity authorized to submit on behalf of the copyright owner. For the purposes of this definition, "submitted" means any form of electronic, verbal, or written communication sent to the Licensor or its representatives, including but not limited to communication on electronic mailing lists, source code control systems, and issue tracking systems that are managed by, or on behalf of, the Licensor for the purpose of discussing and improving the Work, but excluding communication that is conspicuously marked or otherwise designated in writing by the copyright owner as "Not a Contribution."
- "Contributor" shall mean Licensor and any individual or Legal Entity on behalf of whom a Contribution has been received by Licensor and subsequently incorporated within the Work.
- 2. Grant of Copyright License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare Derivative Works of, publicly display, publicly perform, sublicense, and distribute the Work and such Derivative Works in Source or Object form.
- 3. Grant of Patent License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable (except as stated in this section) patent license to make, have made, use, offer to sell, sell, import, and otherwise transfer the Work, where such license applies only to those patent claims licensable by such Contributor that are necessarily infringed by their Contribution(s) alone or by combination of their Contribution(s) with the Work to which such Contribution(s) was submitted. If You institute patent litigation against any entity (including a cross-claim or counterclaim in a lawsuit) alleging that the Work or a Contribution incorporated within the Work constitutes direct or contributory patent infringement, then any patent licenses granted to You under this License for that Work shall terminate as of the date such litigation is filed.
- 4. Redistribution. You may reproduce and distribute copies of the Work or Derivative Works thereof in any medium, with or without modifications, and in Source or Object form, provided that You meet the following conditions:
- You must give any other recipients of the Work or Derivative Works a copy of this License; and
- You must cause any modified files to carry prominent notices stating that You changed the files; and
- You must retain, in the Source form of any Derivative Works that You distribute, all copyright, patent, trademark, and attribution notices from the Source form of the Work, excluding those notices that do not pertain to any part of the Derivative Works; and
- If the Work includes a "NOTICE" text file as part of its distribution, then any Derivative Works that You distribute must include a readable copy of the attribution notices contained within such NOTICE file, excluding those notices that do not pertain to any part of the Derivative Works, in at least one of the following places: within a NOTICE text file distributed as part of the Derivative Works; within the Source form or documentation, if provided along with the Derivative Works; or, within a display generated by the Derivative Works, if and wherever such third-party notices normally appear. The contents of the NOTICE file are for informational purposes only and do not modify the License. You may add Your own attribution notices within Derivative Works that You distribute, alongside or as an addendum to the NOTICE text from the Work, provided that such additional attribution notices cannot be construed as modifying the License.
- You may add Your own copyright statement to Your modifications and may provide additional or different license terms and conditions for use, reproduction, or distribution of Your modifications, or for any such Derivative Works as a whole, provided Your use, reproduction, and distribution of the Work otherwise complies with the conditions stated in this License.
- 5. Submission of Contributions. Unless You explicitly state otherwise, any Contribution intentionally submitted for inclusion in the Work by You to the Licensor shall be under the terms and conditions of this License, without any additional terms or conditions. Notwithstanding the above, nothing herein shall supersede or modify the terms of any separate license agreement you may have executed with Licensor regarding such Contributions.
- 6. Trademarks. This License does not grant permission to use the trade names, trademarks, service marks, or product names of the Licensor, except as required for reasonable and customary use in describing the origin of the Work and reproducing the content of the NOTICE file.
- 7. Disclaimer of Warranty. Unless required by applicable law or agreed to in writing, Licensor provides the Work (and each Contributor provides its Contributions) on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied, including, without limitation, any warranties or conditions of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. You are solely responsible for determining the appropriateness of using or redistributing the Work and assume any risks associated with Your exercise of permissions under this License.
- 8. Limitation of Liability. In no event and under no legal theory, whether in tort (including negligence), contract, or otherwise, unless required by applicable law (such as deliberate and grossly negligent acts) or agreed to in writing, shall any Contributor be liable to You for damages, including any direct, indirect, special, incidental, or consequential damages of any character arising as a result of this License or out of the use or inability to use the Work (including but not limited to damages for loss of goodwill, work stoppage, computer failure or malfunction, or any and all other commercial damages or losses), even if such Contributor has been advised of the possibility of such damages.
- 9. Accepting Warranty or Additional Liability. While redistributing the Work or Derivative Works thereof, You may choose to offer, and charge a fee for, acceptance of support, warranty, indemnity, or other liability obligations and/or rights consistent with this License. However, in accepting such obligations, You may act only on Your own behalf and on Your sole responsibility, not on behalf of any other Contributor, and only if You agree to indemnify, defend, and hold each Contributor harmless for any liability incurred by, or claims asserted against, such Contributor by reason of your accepting any such warranty or additional liability.
- See FAQ for answers to frequently asked questions about this license.
- </pre>
- </div>
- <div title="MutableString" modifier="JohnLam" created="200707182351" changecount="1">
- <pre>MutableString is the CLR type that represents a Ruby String. It's currently based on the StringBuilder type, which is a very efficient implementation of a char[] buffer. The current plan of record is to use this type for the near future before we invest in converting this type to a byte[] which is the long term plan.</pre>
- </div>
- <div title="NewDev" modifier="JohnLam" modified="200707192306" created="200707181659" changecount="9">
- <pre>New to the project? There are a few things that you should know before you dive in.
- * We are currently only accepting contributions into the StandardLibraries.
- * Take some time to familiarize yourself with the SourceCodeLayout.
- * Make sure you understand how the UnitTests work.
- * Work through the RunningFirstTime tutorial.
- Contributing code
- * Read the CodingStandards
- * Read the tutorial on how to AddAMethod to the libraries
- * Build the solution using MSBuild and verify that the UnitTests pass</pre>
- </div>
- <div title="PageTemplate" modifier="YourName" modified="200701122313" created="200701122350" tags="LewcidOrangeBlogTheme" server.type="file" server.host="http://tiddlythemes.com/empties/LewcidOrangeBlog.html" server.page.revision="200701122313">
- <pre><!--{{{-->
- <div class='header'>
- <div class='gradient' macro='gradient vert #FF8614 #DA4A0D '>
- <div class='titleLine' >
- <span class='siteTitle' refresh='content' tiddler='SiteTitle'></span>&nbsp;
- <span class='siteSubtitle' refresh='content' tiddler='SiteSubtitle'></span>
- </div>
- <div id='topMenu' refresh='content' tiddler='MainMenu'></div>
- </div>
- </div>
- <div id='bodywrapper'>
- <div id='sidebar'>
- <div id='sidebarOptions' refresh='content' tiddler='SideBarOptions'></div>
- <div id='sidebarTabs' refresh='content' force='true' tiddler='SideBarTabs'></div>
- </div>
- <div id='displayArea'>
- <div id='messageArea'></div>
- <div id='tiddlerDisplay'></div>
- </div>
- <div id='contentFooter'>TiddlyWiki</div>
- </div>
- <!--}}}--></pre>
- </div>
- <div title="RunningFirstTime" modifier="JohnLam" modified="200707221829" created="200707221827" changecount="2">
- <pre>This topic will teach you the basics of how things run in IronRuby.
- First, we will step through the Ruby.Console application to see what happens when we run a simple program:
- {{{
- puts 'Hello, World!'
- }}}
- You will see a number of things when we step through this code:
- # The hosting interfaces
- # The Ruby parser
- # The Ruby AST
- # The transformation of the Ruby AST into the DLR AST
- # Some interesting execution paths
- </pre>
- </div>
- <div title="SideBarWG" modifier="YourName" modified="200701122313" created="200701122350" tags="LewcidOrangeBlogTheme" server.type="file" server.host="http://tiddlythemes.com/empties/LewcidOrangeBlog.html" server.page.revision="200701122313">
- <pre>/***
- This CSS by DaveBirss.
- ***/
- /*{{{*/
- .tabSelected {
- background: #fff;
- }
- .tabUnselected {
- background: #eee;
- }
- #sidebar {
- color: #000;
- background: transparent;
- }
- #sidebarOptions {
- background: #fff;
- }
- #sidebarOptions input {
- border: 1px solid #ccc;
- }
- #sidebarOptions input:hover, #sidebarOptions input:active, #sidebarOptions input:focus {
- border: 1px solid #000;
- }
- #sidebarOptions .button {
- color: #999;
- }
- #sidebarOptions .button:hover {
- color: #000;
- background: #fff;
- border-color:white;
- }
- #sidebarOptions .button:active {
- color: #000;
- background: #fff;
- }
- #sidebarOptions .sliderPanel {
- background: transparent;
- }
- #sidebarOptions .sliderPanel A {
- color: #999;
- }
- #sidebarOptions .sliderPanel A:hover {
- color: #000;
- background: #fff;
- }
- #sidebarOptions .sliderPanel A:active {
- color: #000;
- background: #fff;
- }
- .sidebarSubHeading {
- color: #000;
- }
- #sidebarTabs {`
- background: #fff
- }
- #sidebarTabs .tabSelected {
- color: #000;
- background: #fff;
- border-top: solid 1px #ccc;
- border-left: solid 1px #ccc;
- border-right: solid 1px #ccc;
- border-bottom: none;
- }
- #sidebarTabs .tabUnselected {
- color: #999;
- background: #eee;
- border-top: solid 1px #ccc;
- border-left: solid 1px #ccc;
- border-right: solid 1px #ccc;
- border-bottom: none;
- }
- #sidebarTabs .tabContents {
- background: #fff;
- }
- #sidebarTabs .txtMoreTab .tabSelected {
- background: #fff;
- }
- #sidebarTabs .txtMoreTab .tabUnselected {
- background: #eee;
- }
- #sidebarTabs .txtMoreTab .tabContents {
- background: #fff;
- }
- #sidebarTabs .tabContents .tiddlyLink {
- color: #999;
- border:none;
- }
- #sidebarTabs .tabContents .tiddlyLink:hover {
- background: #fff;
- color: #000;
- border:none;
- }
- #sidebarTabs .tabContents {
- color: #000;
- }
- #sidebarTabs .button {
- color: #666;
- }
- #sidebarTabs .tabContents .button:hover {
- color: #000;
- background: #fff;
- }
- #sidebar {color:#999;}
- /*}}}*/</pre>
- </div>
- <div title="SiteSubtitle" modifier="YourName" created="200707181614" changecount="1">
- <pre>Developer documentation for Microsoft IronRuby</pre>
- </div>
- <div title="SiteTitle" modifier="YourName" created="200707181614" changecount="1">
- <pre>IronRuby Docs</pre>
- </div>
- <div title="SourceCodeLayout" modifier="JohnLam" modified="200707191618" created="200707191555" changecount="2">
- <pre>The IronRuby source code has the following layout:
- {{{
- \ironruby
- src\
- ironruby\
- ironrubylibs\
- microsoft.scripting\
- tests\
- ironruby\
- microsoft.scripting\
- utils\
- IronRuby.Tests\
- ironruby.console\
- classinitgenerator\
- }}}
- The src\ironruby directory contains the code for the compiler and the BuiltIns. We are currently not AcceptingContributions into the core compiler.
- The src\ironrubylibs directory contains the code for the StandardLibraries. We are AcceptingContributions into this directory tree.
- The tests\ironruby directory contains the UnitTests for the compiler, BuiltIns, and StandardLibraries.
- The tests\microsoft.scripting directory contains the UnitTests for the DynamicLanguageRuntime.
- The utils\IronRuby.Tests directory contains a set of tests that are useful if you want to step into the core compiler using a debugger.
- The utils\ironruby.console directory contains a simple console-based host for the IronRuby compiler that supports REPL-style programming.
- The utils\classinitgenerator directory contains a utility that will generate code from class and method attributes used in the libraries. </pre>
- </div>
- <div title="StandardLibraries" modifier="JohnLam" modified="200707192244" created="200707191511" changecount="4">
- <pre>The StandardLibraries are the same list of libraries described in Chapter 28 of the PickAxe book. These libraries will be compiled into a separate assembly, IronRubyLibs.dll. The sources live in \ironruby\src\ironrubylibs\.
- Here's a complete list of the libraries that we are looking for contributions in:
- !Libraries to be ported to C#
- # [[strscan|http://ruby-doc.org/stdlib/libdoc/strscan/rdoc/classes/StringScanner.html]]: a high-speed string token scanner
- # syck: high-speed YAML parser
- # zlib: library for [de]compressing streams and working with gzip files
- # bigdecimal: variable precision floating point library (GPL)
- # readline: wrapper around GNU readline library
- # curses: wrapper around C-based curses library
- # enumerator: adds enumeration support to arbitrary objects and mixes in Enumerable
- # fcntl: symbolic names for fcntl constants based on underlying OS
- # iconv: translates string between different character encodings
- # io: adds IO#ready? and IO#wait methods to standard IO class
- # pty: pseudo-terminal interface
- # racc: runtime library for code produced by racc [Ruby yacc]
- # stringio: treat a string as if it were an I/O stream
- # thread: utility methods for multithreaded programming. Queue utility class is still used today by some libraries - most functionality superceded by Monitor
- !Libraries that should delegate functionality to existing .NET libraries
- # openssl: wrapper around OpenSSL library
- # digest: various hashing algorithms (md5, rmd160, sha1, sha2)
- # dl: access underlying platform's DLL infrastructure [similar to Win32API]
- # socket: interface with platform socket implementation (unknown license)
- # Win32API: allows access to arbitrary Win32 functions P/Invoke style wrapper
- # win32ole: library for manipulating COM objects (GPL or Artistic License)
- !Libraries that target non-Windows platforms
- # Dbm: wrapper around DBM databases which are persistent hash-like files
- # gdbm: Ruby wrapper around GNU database
- # nkf: wrapper around Network Kanji Filter library - guess character encodings
- # sdbm: key-value hashtable persistence library
- # etc: used to retrieve data under /etc directory on Unix systems
- # syslog: wrapper around Unix syslog library
- # tk: library for creating cross-platform UIs
- </pre>
- </div>
- <div title="StyleSheet" modifier="YourName" modified="200701122313" created="200701122350" tags="LewcidOrangeBlogTheme" server.type="file" server.host="http://tiddlythemes.com/empties/LewcidOrangeBlog.html" server.page.revision="200701122313">
- <pre>[[SideBarWG]]
- /***
- !Top Menu Styles
- ***/
- /*{{{*/
- #topMenu br {display:none; }
- #topMenu { background: #000 ; color:#fff;padding: 1em 1em;}
- /*}}}*/
- /***
- !General
- ***/
- /*{{{*/
- body {
- background: #444;
- margin: 0 auto;
- }
- #contentWrapper{
- background: #fff;
- border: 0;
- margin: 0 auto;
- width: 792px;
- padding:0;
- }
- /*}}}*/
- /***
- !Header rules
- ***/
- /*{{{*/
- .titleLine{
- margin: 80px auto 0em ;
- margin-left:1.7em;
- margin-bottom: 40px;
- padding: 0;
- text-align: left;
- color: #fff;
- }
- .siteTitle {
- font-size: 2em;
- font-weight: bold;
- }
- .siteSubtitle {
- font-size: 1.1em;
- display: block;
- margin: .5em auto 1em;
- }
- .gradient {margin: 0 auto;}
- .header {
- background: #fff;
- margin: 0 auto;
- padding:0 12px;
- width: 768px;
- }
- /*}}}*/
- /***
- !Display Area
- ***/
- /*{{{*/
- #bodywrapper {margin:0 12px; padding:0;background:#fff; height:1%}
- #displayArea{
- margin: 0em 16em 0em 1em;
- text-align: left;
- }
- .tiddler {
- padding: 1em 1em 0em 0em;
- }
- h1,h2,h3,h4,h5 { color: #000; background: transp…
Large files files are truncated, but you can click here to view the full file