Class: Boolean

Inherits:
Object
  • Object
show all
Defined in:
lib/weechat/rubyext/boolean.rb

Class Method Summary (collapse)

Class Method Details

+ (Object) from_weechat_config(v)



2
3
4
# File 'lib/weechat/rubyext/boolean.rb', line 2

def self.from_weechat_config(v)
  Weechat.integer_to_bool(Weechat.config_string_to_boolean(v))
end