Top Level Namespace

Defined Under Namespace

Modules: XorgBuffer

Instance Method Summary collapse

Instance Method Details

#set_xorg_buffer(data = nil) ⇒ Object

#

set_xorg_buffer

Use this method to set to the Xorg Buffer, on Linux. The reason why this method exists is so that we can quickly use a toplevel method, without having to further include any other module.

#


16
17
18
# File 'lib/xorg_buffer/xorg_buffer.rb', line 16

def set_xorg_buffer(data = nil)
  XorgBuffer.set_buffer(data) if data
end