Module: Configuration::AssemblyInfo
- Includes:
- Albacore::Configuration
- Included in:
- AssemblyInfo
- Defined in:
- lib/albacore/config/assemblyinfoconfig.rb
Class Method Summary collapse
Instance Method Summary collapse
-
#assemblyinfo {|config| ... } ⇒ Object
this is the key: Albacore.configure( hash => hash.assemblyinfo ).
Methods included from Albacore::Configuration
Class Method Details
.asmconfig ⇒ Object
8 9 10 |
# File 'lib/albacore/config/assemblyinfoconfig.rb', line 8 def self.asmconfig @config ||= OpenStruct.new.extend(OpenStructToHash).extend(AssemblyInfo) end |
Instance Method Details
#assemblyinfo {|config| ... } ⇒ Object
this is the key: Albacore.configure( hash => hash.assemblyinfo )
13 14 15 16 17 |
# File 'lib/albacore/config/assemblyinfoconfig.rb', line 13 def config ||= AssemblyInfo.asmconfig yield(config) if block_given? config end |