Sha256: ace1e85a5f1ab46cc7274353707651375ec168b7fb4eee12ac36f313df4e2551

Contents?: true

Size: 183 Bytes

Versions: 1

Compression:

Stored size: 183 Bytes

Contents

require "cubbyhole/version"

def Object.const_missing(name)
  eval "#{name} = Class.new(Cubbyhole::Base)"
end

module Cubbyhole
  class Base
    def foo
      "asf"
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
cubbyhole-0.0.1 lib/cubbyhole.rb