Module: Dependency::Macro

Defined in:
lib/dependency/macro.rb

Instance Method Summary collapse

Instance Method Details

#dependency_macro(attr_name, interface = nil, record: nil) ⇒ Object Also known as: dependency


3
4
5
# File 'lib/dependency/macro.rb', line 3

def dependency_macro(attr_name, interface=nil, record: nil)
  Attribute.define(self, attr_name, interface, record)
end