Sha256: da440f4704448db2fb0071eba68bd33c54b32ae73f4d0679b9536d16b68dbc42

Contents?: true

Size: 221 Bytes

Versions: 14

Compression:

Stored size: 221 Bytes

Contents

module Dox
  module DSL
    module AttrProxy
      def method_missing(name, value)
        setter = "#{name}="
        return super unless respond_to? setter

        public_send setter, value
      end
    end
  end
end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
dox-2.4.0 lib/dox/dsl/attr_proxy.rb
dox-2.3.0 lib/dox/dsl/attr_proxy.rb
dox-2.2.0 lib/dox/dsl/attr_proxy.rb
dox-2.1.0 lib/dox/dsl/attr_proxy.rb
dox-1.3.0 lib/dox/dsl/attr_proxy.rb
dox-2.0.0 lib/dox/dsl/attr_proxy.rb
dox-2.0.0.beta3 lib/dox/dsl/attr_proxy.rb
dox-2.0.0.beta2 lib/dox/dsl/attr_proxy.rb
dox-2.0.0.beta1 lib/dox/dsl/attr_proxy.rb
dox-1.2.0 lib/dox/dsl/attr_proxy.rb
dox-1.1.0 lib/dox/dsl/attr_proxy.rb
dox-1.0.2 lib/dox/dsl/attr_proxy.rb
dox-1.0.1 lib/dox/dsl/attr_proxy.rb
dox-1.0.0 lib/dox/dsl/attr_proxy.rb