Sha256: 8e874f26f5a1ce8868a816b36d943ba5b20435e4ec4b941c41a9749947d8e77a

Contents?: true

Size: 200 Bytes

Versions: 23

Compression:

Stored size: 200 Bytes

Contents

class Config
  include SmartIoC::Iocify

  bean :config, factory_method: :get_config

  class TestConfig
    def app_name
      'SmartIoC'
    end
  end

  def get_config
    TestConfig.new
  end
end

Version data entries

23 entries across 23 versions & 1 rubygems

Version Path
smart_ioc-0.1.16 spec/smart_ioc/example/utils/config.rb
smart_ioc-0.1.14 spec/smart_ioc/example/utils/config.rb
smart_ioc-0.1.13 spec/smart_ioc/example/utils/config.rb