Module: Huanxin

Defined in:
lib/huanxin.rb,
lib/huanxin/base.rb,
lib/huanxin/group.rb,
lib/huanxin/client.rb,
lib/huanxin/version.rb,
lib/huanxin/chat_room.rb

Overview

require “huanxin/user_group”

Defined Under Namespace

Modules: ChatRoom, Group Classes: Base, Client

Constant Summary collapse

VERSION =
"0.1.1"

Class Method Summary collapse

Class Method Details

.configObject



8
9
10
# File 'lib/huanxin/base.rb', line 8

def config
  @huanxin_config
end

.configure {|@huanxin_config| ... } ⇒ Object

Yields:

  • (@huanxin_config)


5
6
7
# File 'lib/huanxin/base.rb', line 5

def configure
  yield @huanxin_config if block_given?
end