Sha256: 4ef0dc4c261441568a820a68f85ae9bff75f499c3307ea750c81561dccc0da28
Contents?: true
Size: 364 Bytes
Versions: 2
Compression:
Stored size: 364 Bytes
Contents
module RaaP module Value # FIXME: consider self_types class Module < BasicObject attr_reader :type def initialize(type) @type = type const = ::Object.const_get(type.name.absolute!.to_s) BindCall.extend(self, const) end def inspect = "#<module #{@type}>" def class = Value::Module end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
raap-0.2.0 | lib/raap/value/module.rb |
raap-0.1.0 | lib/raap/value/module.rb |