Class: OpenStruct
- Inherits:
-
Object
show all
- Defined in:
- lib/smart_proxy_dynflow_core/settings.rb
Instance Method Summary
collapse
Instance Method Details
#[](key) ⇒ Object
6
7
8
|
# File 'lib/smart_proxy_dynflow_core/settings.rb', line 6
def [](key)
self.send key
end
|
#[]=(key, value) ⇒ Object
10
11
12
|
# File 'lib/smart_proxy_dynflow_core/settings.rb', line 10
def []=(key, value)
self.send "#{key}=", value
end
|
#to_h ⇒ Object
14
15
16
|
# File 'lib/smart_proxy_dynflow_core/settings.rb', line 14
def to_h
marshal_dump
end
|