Environment.echo does not need an attr_accessor

This commit is contained in:
Josh Holtrop 2013-06-27 20:42:34 -04:00
parent a724d9b2a9
commit 44d57881c2

View File

@ -1,15 +1,14 @@
module Rscons
class Environment
# Values:
# :none - do not print anything
# :short - rscons will print a short representation of the step
# being performed
# :command (default) - print the full command being executed
attr_accessor :echo
# Hash of Builder Name => Builder Class
attr_reader :builders
# possible +options+:
# :echo:
# :none - do not print anything
# :short - rscons will print a short representation of the step
# being performed
# :command (default) - print the full command being executed
def initialize(options = {})
@echo = :command
@variables = options.reject { |key, val| not key[0] =~ /[A-Z]/ }