Class: Fuby::Attributes
- Inherits:
-
SimpleDelegator
- Object
- SimpleDelegator
- Fuby::Attributes
show all
- Defined in:
- lib/fuby/attributes.rb
Instance Method Summary
collapse
Instance Method Details
6
7
8
|
# File 'lib/fuby/attributes.rb', line 6
def [] key
__getobj__.send :"#{ __name__ }_get", key
end
|
#[]=(key, val) ⇒ Object
10
11
12
|
# File 'lib/fuby/attributes.rb', line 10
def []= key, val
__getobj__.send :"#{ __name__ }_set", key, val
end
|