Environment.echo does not need an attr_accessor
This commit is contained in:
parent
a724d9b2a9
commit
44d57881c2
@ -1,15 +1,14 @@
|
|||||||
module Rscons
|
module Rscons
|
||||||
class Environment
|
class Environment
|
||||||
# Values:
|
# Hash of Builder Name => Builder Class
|
||||||
|
attr_reader :builders
|
||||||
|
|
||||||
|
# possible +options+:
|
||||||
|
# :echo:
|
||||||
# :none - do not print anything
|
# :none - do not print anything
|
||||||
# :short - rscons will print a short representation of the step
|
# :short - rscons will print a short representation of the step
|
||||||
# being performed
|
# being performed
|
||||||
# :command (default) - print the full command being executed
|
# :command (default) - print the full command being executed
|
||||||
attr_accessor :echo
|
|
||||||
|
|
||||||
# Hash of Builder Name => Builder Class
|
|
||||||
attr_reader :builders
|
|
||||||
|
|
||||||
def initialize(options = {})
|
def initialize(options = {})
|
||||||
@echo = :command
|
@echo = :command
|
||||||
@variables = options.reject { |key, val| not key[0] =~ /[A-Z]/ }
|
@variables = options.reject { |key, val| not key[0] =~ /[A-Z]/ }
|
||||||
|
Loading…
x
Reference in New Issue
Block a user