# from http://www.artima.com/rubycs/articles/ruby_as_dsl.html #ruby dsl-loader.rb params_with_equal.dsl require 'mydsl' my_dsl = MyDSL.load(ARGV.shift) # put the DSL filename on the command line p my_dsl p my_dsl.instance_variables