# load the SharePoint Assembly
require "Microsoft.SharePoint, Version=184.108.40.206, Culture=neutral, PublicKeyToken=71e9bce111e9429c"
# import SPSite
SPSite = Microsoft::SharePoint::SPSite
# instantiate the SPSite at http://localhost/anysite
site = SPSite.new("http://localhost/anysite")
# open the corresponding web
web = site.OpenWeb
#Set the title -> just a trivial Demo!
web.Title = "Greetings from IronRuby"
# persist the changes to the Content DB
# clean up. Don't forget as I did ;-)
# have a cup of coffee and enjoy to be a developer :-)
Thanks @ Thorsten Hans for the IronRuby crash course.