Sha256: a439f9acff881dcc3c144f36d3436e3788fa99fa7be607b91a94c199c4d1e597

Contents?: true

Size: 224 Bytes

Versions: 5

Compression:

Stored size: 224 Bytes

Contents

module Rafters::Source
  extend ActiveSupport::Concern

  included do
    attr_accessor :component

    delegate :controller, :settings, to: :component
  end

  def initialize(component)
    @component = component
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
rafters-1.2.1 lib/rafters/source.rb
rafters-1.2.0 lib/rafters/source.rb
rafters-1.1.0 lib/rafters/source.rb
rafters-1.0.0 lib/rafters/source.rb
rafters-0.2.0 lib/rafters/source.rb