Class: Oksky::Chat::Object::Base

Inherits:
Object
  • Object
show all
Defined in:
lib/oksky/chat/object/base.rb

Instance Method Summary collapse

Constructor Details

#initialize(src) ⇒ Base

Returns a new instance of Base.



6
7
8
# File 'lib/oksky/chat/object/base.rb', line 6

def initialize(src)
  @src = src
end

Instance Method Details

#[](key) ⇒ Object



10
11
12
# File 'lib/oksky/chat/object/base.rb', line 10

def [](key)
  @src[key]
end