From: Pito Salas Date: 2009-06-03T22:54:28+09:00 Subject: Re: Module methods Mark Thomas wrote: > It looks like what you really want is a class. Is there a specific > reason you don't want to do this? > > class Good > def initialize > @var = "good" > end > > def life > puts @var > end > end > > g = Good.new > g.life Yeah, I am trying to make as transparent as possible "Domain Specific Language" so that the second file looks like a program in the DSL with as little extra stuff as possible. So the second file ends up looking like: include Good life bicycle :first telephone :last life (FOR EXAMPLE :) -- Posted via http://www.ruby-forum.com/.