Sha256: 314cfb9fe4c105cf16abfc3e7cfe83e58cfa7886bfc2c6534e5c9c79cd4f9da6
Contents?: true
Size: 434 Bytes
Versions: 31
Compression:
Stored size: 434 Bytes
Contents
require 'roo_on_rails/checks/base' module RooOnRails module Checks # Base class for checks that are applicable per-environment. # The `env` passed to the initializer becomes part of the check signature. class EnvSpecific < Base attr_reader :env def initialize(**options) super(options) @env = @options[:env] end def signature super + [@env] end end end end
Version data entries
31 entries across 31 versions & 1 rubygems