Class: IocRb::BeanMetadata::Attribute
- Defined in:
- lib/ioc_rb/bean_metadata.rb
Instance Attribute Summary collapse
-
#name ⇒ Object
readonly
Returns the value of attribute name.
-
#ref ⇒ Object
readonly
Returns the value of attribute ref.
Instance Method Summary collapse
-
#initialize(name, options) ⇒ Attribute
constructor
A new instance of Attribute.
Constructor Details
#initialize(name, options) ⇒ Attribute
Returns a new instance of Attribute.
50 51 52 53 54 |
# File 'lib/ioc_rb/bean_metadata.rb', line 50 def initialize(name, ) IocRb::ArgsValidator.has_key!(, :ref) @name = name @ref = [:ref] end |