module Tins::FileBinary::ClassMethods

def ascii?(name, options = {})

using the FileBinary#ascii? method.
Returns true if the file with name +name+ is considered to be ascii
def ascii?(name, options = {})
  open(name, 'rb') { |f| f.ascii?(options) }
end

def binary?(name, options = {})

using the FileBinary#binary? method.
Returns true if the file with name +name+ is considered to be binary
def binary?(name, options = {})
  open(name, 'rb') { |f| f.binary?(options) }
end