lib/record_loader/filter/standard.rb
#
# Indicates that a file should be loaded. Checks the environment flags
# against the current environment, or if the file is flagged as WIP
# check it against the active wip flags.
#
# @param [RecordLoader::RecordFile] file The file to check
#
# @return [Boolean] returns true if the file should be loaded
#
Indicates that a file should be loaded. Checks the environment flags
against the current environment, or if the file is flagged as WIP
check it against the active wip flags.
Indicates that a file should be loaded . Checks the environment flags against the current environment or if the file is flagged as WIP check it against the active wip flags .
def include?(file)
        return @dev if file.dev?
        return @wip_list.include?(file.basename) if file.wip?
        true
      end
def include? ( file ) return @dev if file . dev? return @wip_list . include? ( file . basename ) if file . wip? true end
Indicates that a file should be loaded.
Indicates that a file should be loaded .
returns true if the file should be loaded
returns true if the file should be loaded
Boolean
file
<not_specific>
<not_specific>
file The file to check
file The file to check