class OpenStruct

Public Instance Methods

[](key) click to toggle source
# File lib/core_ext/ostruct.rb, line 2
def [] key
  send key
end
[]=(key, val) click to toggle source
# File lib/core_ext/ostruct.rb, line 6
def []= key, val
  send %(#{key}=), val
end