Sha256: 5aa2be66dc19dd22d4f24da4ca3e9785f292eb1bc4e31e427a40c60e96e3b1f4
Contents?: true
Size: 226 Bytes
Versions: 3
Compression:
Stored size: 226 Bytes
Contents
module Dox module DSL module AttrProxy def method_missing(name, value) setter = "#{name.to_s}=" return super unless respond_to? setter public_send setter, value end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
dox-1.0.0.alpha | lib/dox/dsl/attr_proxy.rb |
dox-0.0.3 | lib/dox/dsl/attr_proxy.rb |
dox-0.0.2 | lib/dox/dsl/attr_proxy.rb |