# coding: utf-8

require 'ostruct'

module ActiveInteraction
  class GroupedInput < OpenStruct
  end
end

# coding: utf-8

require 'ostruct'

module ActiveInteraction
  class GroupedInput < OpenStruct
    def [](name)
      return super if self.class.superclass.method_defined?(:[])

      send(name)
    end

    def []=(name, value)
      return super if self.class.superclass.method_defined?(:[]=)

      send("#{name}=", value)
    end
  end
end

Define methods for backwards compatibility
Define methods for backwards compatibility
