Class: MagicBytes::FileType

Inherits:
Struct
  • Object
show all
Defined in:
lib/magic_bytes.rb

Instance Attribute Summary collapse

Instance Attribute Details

#extObject

Returns the value of attribute ext

Returns:

  • (Object)

    the current value of ext



4
5
6
# File 'lib/magic_bytes.rb', line 4

def ext
  @ext
end

#mimeObject

Returns the value of attribute mime

Returns:

  • (Object)

    the current value of mime



4
5
6
# File 'lib/magic_bytes.rb', line 4

def mime
  @mime
end