class IocRb::BeanMetadata::Dsl
Public Class Methods
new(attrs)
click to toggle source
# File lib/ioc_rb/bean_metadata.rb, line 58 def initialize(attrs) @attrs = attrs end
Public Instance Methods
arg(name, options)
click to toggle source
# File lib/ioc_rb/bean_metadata.rb, line 66 def arg(name, options) @args << IocRb::BeanMetadata::Attribute.new(name, options) end
attr(name, options)
click to toggle source
# File lib/ioc_rb/bean_metadata.rb, line 62 def attr(name, options) @attrs << IocRb::BeanMetadata::Attribute.new(name, options) end