Module: Weechat::Script::Skeleton::ClassMethods

Defined in:
lib/weechat/script.rb

Instance Method Summary collapse

Instance Method Details

#configObject



22
23
24
# File 'lib/weechat/script.rb', line 22

def config
  @config || Weechat::Script::Config.new({})
end

#scriptObject



11
12
13
14
15
16
17
18
19
20
# File 'lib/weechat/script.rb', line 11

def script
  {
    :license     => 'unlicensed',
    :version     => '0.0.1',
    :author      => 'Anonymous',
    :description => 'Empty script description',
    :charset     => '',
    :gem_version => '0.0.1',
  }.merge(@script)
end