struct GPM::Config
- GPM::Config
- Struct
- Value
- Object
Defined in:
gpm.crConstructors
Instance Method Summary
- #clone
- #copy_with(event_mask _event_mask = @event_mask, default_mask _default_mask = @default_mask, min_mod _min_mod = @min_mod, max_mod _max_mod = @max_mod, pid _pid = @pid, vc _vc = @vc)
- #default_mask : Types
- #event_mask : Types
- #max_mod : UInt16
- #min_mod : UInt16
- #pid : Int32
- #vc : Int32
Constructor Detail
def self.new(event_mask : Types = Types::All, default_mask : Types = (Types::MOVE | Types::HARD), min_mod : UInt16 = 0, max_mod : UInt16 = 65535, pid : Int32 = Process.pid.to_i32, vc : Int32 = ((File.readlink("/proc/#{Process.pid}/fd/0")).match(/tty(\d+)/)).try() do |__arg0|
__arg0[1].to_i
end || 0)
#
Instance Method Detail
def copy_with(event_mask _event_mask = @event_mask, default_mask _default_mask = @default_mask, min_mod _min_mod = @min_mod, max_mod _max_mod = @max_mod, pid _pid = @pid, vc _vc = @vc)
#