github
Advanced Search
  • Home
  • Pricing and Signup
  • Explore GitHub
  • Blog
  • Login

ironruby / ironruby

  • Admin
  • Watch Unwatch
  • Fork
  • Your Fork
  • Pull Request
  • Download Source
    • 230
    • 82
  • Source
  • Commits
  • Network (82)
  • Issues (1)
  • Downloads (7)
  • Wiki (8)
  • Graphs
  • Branch: master

click here to add a description

click here to add a homepage

  • Branches (1)
    • master ✓
  • Tags (7)
    • v1.0-rc1
    • v0.9.2
    • v0.9.1
    • v0.9.0
    • v0.6.0
    • v0.5.0
    • v0.3.0
Sending Request…
Enable Donations

Pledgie Donations

Once activated, we'll place the following badge in your repository's detail box:
Pledgie_example
This service is courtesy of Pledgie.

Microsoft's Ruby language compiler that is built on top of the Dynamic Language Runtime. — Read more

  cancel

http://ironruby.net

  cancel
  • Private
  • Read-Only
  • HTTP Read-Only

This URL has Read+Write access

sync to head of tfs 
Jim Deville (author)
Mon Feb 01 15:32:39 -0800 2010
commit  3a8eca284222629816620483bade4445be4dbaff
tree    83606b6331f916ce45bf96631a5e01bce4117013
parent  b4dc9e74c39184d2cf59c61cd419a0d5a9a0c3ac
ironruby / Merlin / Main / Languages / Ruby / Samples / Tutorial
name age
history
message
..
file README.markdown Fri Sep 18 01:41:30 -0700 2009 Cleans up Tutorial by using new script-tag supp... [Jimmy Schementi]
file TODO Sat Jul 18 17:29:57 -0700 2009 Pull of Shris remote [Jim Deville]
directory Tutorials/ Tue Sep 22 22:36:31 -0700 2009 Merge branch 'master' of git://github.com/tnach... [Jim Deville]
directory app/ Fri Oct 23 15:37:09 -0700 2009 Fix IronRuby tutorial scrolling bug, and clean ... [Jimmy Schementi]
file build.bat Fri Oct 23 15:37:04 -0700 2009 Cleanup IronRuby tutorial scripts [Jimmy Schementi]
file clean.bat Fri Oct 23 15:37:04 -0700 2009 Cleanup IronRuby tutorial scripts [Jimmy Schementi]
file console_tutorial.rb Fri Sep 18 01:41:30 -0700 2009 Cleans up Tutorial by using new script-tag supp... [Jimmy Schementi]
directory css/ Fri Sep 18 01:41:30 -0700 2009 Cleans up Tutorial by using new script-tag supp... [Jimmy Schementi]
file deploy.bat Fri Oct 23 15:37:04 -0700 2009 Cleanup IronRuby tutorial scripts [Jimmy Schementi]
file html_tutorial.rb Fri Sep 18 01:41:30 -0700 2009 Cleans up Tutorial by using new script-tag supp... [Jimmy Schementi]
file sl_tutorial.html Fri Oct 23 15:37:07 -0700 2009 Get IronRuby tutorial tests running in Silverli... [Jimmy Schementi]
file test.bat Fri Sep 18 01:41:30 -0700 2009 Cleans up Tutorial by using new script-tag supp... [Jimmy Schementi]
directory test/ Fri Oct 23 15:37:07 -0700 2009 Get IronRuby tutorial tests running in Silverli... [Jimmy Schementi]
file tutorial-sl.bat Fri Oct 23 15:37:04 -0700 2009 Cleanup IronRuby tutorial scripts [Jimmy Schementi]
file tutorial.bat Mon Aug 24 15:26:13 -0700 2009 Tutorial improvements - HTML tutorial generates... [unknown]
directory wpf/ Wed Aug 05 12:27:18 -0700 2009 Fixes a bunch of issues preventing irtests.bat ... [shri]
file wpf_tutorial.rb Fri Sep 18 01:41:30 -0700 2009 Cleans up Tutorial by using new script-tag supp... [Jimmy Schementi]
Merlin/Main/Languages/Ruby/Samples/Tutorial/README.markdown

IronRuby Tutorial

Description

The application is an interactive tutorial, allowing users to use a REPL window to follow along the teaching material

Topics covered

  • Creating WPF UI using XAML
    • Using Blend for UI design
    • Creating WPF FlowDocument from RDoc SimpleMarkup text
  • Creating domain-specific-languages (DSLs) in Ruby
  • Creating an application that can be developed incrementally from an interactive session with ability to reload modified source files.
  • Using a splash screen at application startup

Running the app

On the desktop:

ir.exe wpf_tutorial.rb

On Silverlight:

tutorial-sl.bat

Running the app interactively

Launch ir.exe:

load "wpf_tutorial.rb"
#=> true
# Edit wpf_tutorial.rb. For example, change the settings on the window in
# the XAML
reload # This should show the new window now...
#=> true

Running the tests

Both desktop and Silverlight:

tests.bat

Just desktop:

ir.exe test/test_console.rb

Just Silverlight:

ruby %MERLIN_ROOT%Hosts\Silverlight\Scripts\run_tests.rb
Blog | Support | Training | Contact | API | Status | Twitter | Help | Security
© 2010 GitHub Inc. All rights reserved. | Terms of Service | Privacy Policy
Powered by the Dedicated Servers and
Cloud Computing of Rackspace Hosting®
Dedicated Server