This repository is private.
All pages are served over SSL and all pushing and pulling is done over SSH.
No one may fork, clone, or view it unless they are added as a member.
Every repository with this icon (
) is private.
Every repository with this icon (
This repository is public.
Anyone may fork, clone, or view it.
Every repository with this icon (
) is public.
Every repository with this icon (
Jim Deville (author)
Sat Nov 21 23:39:36 -0800 2009
| name | age | message | |
|---|---|---|---|
| .. | |||
| |
README.markdown | Fri Sep 18 01:41:30 -0700 2009 | |
| |
TODO | Sat Jul 18 17:29:57 -0700 2009 | |
| |
Tutorials/ | Tue Sep 22 22:36:31 -0700 2009 | |
| |
app/ | Fri Oct 23 15:37:09 -0700 2009 | |
| |
build.bat | Fri Oct 23 15:37:04 -0700 2009 | |
| |
clean.bat | Fri Oct 23 15:37:04 -0700 2009 | |
| |
console_tutorial.rb | Fri Sep 18 01:41:30 -0700 2009 | |
| |
css/ | Fri Sep 18 01:41:30 -0700 2009 | |
| |
deploy.bat | Fri Oct 23 15:37:04 -0700 2009 | |
| |
html_tutorial.rb | Fri Sep 18 01:41:30 -0700 2009 | |
| |
sl_tutorial.html | Fri Oct 23 15:37:07 -0700 2009 | |
| |
test.bat | Fri Sep 18 01:41:30 -0700 2009 | |
| |
test/ | Fri Oct 23 15:37:07 -0700 2009 | |
| |
tutorial-sl.bat | Fri Oct 23 15:37:04 -0700 2009 | |
| |
tutorial.bat | Mon Aug 24 15:26:13 -0700 2009 | |
| |
wpf/ | Wed Aug 05 12:27:18 -0700 2009 | |
| |
wpf_tutorial.rb | Fri Sep 18 01:41:30 -0700 2009 |
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







