class OpenStruct

Public Instance Methods

[](key) click to toggle source
# File lib/rails_config/ext/ostruct_ext.rb, line 5
def [](key)
  self.send(key)
end
[]=(key, value) click to toggle source
# File lib/rails_config/ext/ostruct_ext.rb, line 9
def []=(key, value)
  self.send("#{key.to_s}=", value)
end