Sha256: a3b3970133d286179ad7376bc2e99303d24678dfbbbf2ec81638e5a1c8c68198

Contents?: true

Size: 500 Bytes

Versions: 2

Compression:

Stored size: 500 Bytes

Contents

# -*- encoding : utf-8 -*-
require 'rademade_admin/model/reflection/uploader'
require 'rademade_admin/model/reflection/data'

module RademadeAdmin
  module Model
    class Reflection
      include Uploader
      include Data

      attr_reader :model, :controller

      def initialize(model, controller, controller_name, inner)
        @model, @controller, @controller_name, @inner = model, controller, controller_name, inner
      end

      def nested?
        @inner
      end

    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
rademade_admin-0.0.3 lib/rademade_admin/model/reflection.rb
rademade_admin-0.0.2 lib/rademade_admin/model/reflection.rb