Module: Dox::DSL::AttrProxy

Included in:
Action, Resource, ResourceGroup
Defined in:
lib/dox/dsl/attr_proxy.rb

Instance Method Summary collapse

Dynamic Method Handling

This class handles dynamic methods through the method_missing method

#method_missing(name, value) ⇒ Object



4
5
6
7
8
9
# File 'lib/dox/dsl/attr_proxy.rb', line 4

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

  public_send setter, value
end