Class: FFI::Chm::UnitInfo

Inherits:
Struct
  • Object
show all
Defined in:
lib/ffi-chm/unit_info.rb

Instance Method Summary collapse

Instance Method Details

#dir?Boolean

Returns:

  • (Boolean)


9
10
11
# File 'lib/ffi-chm/unit_info.rb', line 9

def dir?
  flag? :dirs
end

#file?Boolean

Returns:

  • (Boolean)


13
14
15
# File 'lib/ffi-chm/unit_info.rb', line 13

def file?
  flag? :files
end