no muflax
parent
61a8817f2e
commit
79b747a5fe
|
@ -3,7 +3,19 @@
|
|||
# Copyright muflax <mail@muflax.com>, 2015
|
||||
# License: GNU GPLv3 (or later) <http://www.gnu.org/copyleft/gpl.html>
|
||||
|
||||
# require "muflax"
|
||||
# avoid having to require muflax
|
||||
class Object
|
||||
def blank?
|
||||
respond_to?(:empty?) ? !!empty? : !self
|
||||
end
|
||||
end
|
||||
|
||||
class String
|
||||
BLANK_RE = /\A[[:space:]]*\z/
|
||||
def blank?
|
||||
BLANK_RE === self
|
||||
end
|
||||
end
|
||||
|
||||
LayoutDir = "src/keyboard"
|
||||
LayoutFile = "#{LayoutDir}/layout.c"
|
||||
|
|
Loading…
Reference in New Issue