Yes but I can make macros to simplify this. 

Sent from my iPhone

On Mar 1, 2013, at 8:12 PM, Caleb Thompson <notifications@github.com> wrote:

> In core/dir.rb:
> 
> > @@ -0,0 +1,19 @@
> > +module Dagon
> > +  module Core
> > +    class DG_DirClass < DG_Class
> > +      def initialize
> > +        super("Dir", Dagon::Core::DG_Class.new)
> > +      end
> > +
> > +      def boot
> > +        add_class_method "getwd", ->(vm, ref) {
> > +          vm.get_class("String").dagon_new(vm, Dir.getwd)
> Would it be ridiculous to suggest something like this?
> 
> eval(%q("#{Dir.getwd}"))
> 
> So that we can avoid the get_class and dagon_new calls all over the place?
> 
> \
> Reply to this email directly or view it on GitHub.