Module: FluentCommandBuilder::AspnetCompiler::V20

Defined in:
lib/fluent_command_builder/command_builders/aspnet_compiler_20.rb

Defined Under Namespace

Classes: AspnetCompiler

Constant Summary collapse

VERSION =
'2.0'
@@config =
CommandBuilderConfig.new FluentCommandBuilder::AspnetCompiler::COMMAND_NAME, VERSION

Instance Method Summary collapse

Instance Method Details

#aspnet_compiler(target_dir = nil) {|b| ... } ⇒ Object

Yields:

  • (b)


17
18
19
20
21
22
# File 'lib/fluent_command_builder/command_builders/aspnet_compiler_20.rb', line 17

def aspnet_compiler(target_dir=nil)
  b = UnderlyingBuilder.new @@config
  c = AspnetCompiler.new(b, target_dir)
  yield b if block_given?
  c
end

#configure_aspnet_compiler {|@@config| ... } ⇒ Object

Yields:

  • (@@config)


12
13
14
15
16
# File 'lib/fluent_command_builder/command_builders/aspnet_compiler_20.rb', line 12

def configure_aspnet_compiler
  yield @@config
  @@config.validate_path
  @@config.validate_version
end