Sha256: f29c99aed9336a49416819db392b4f4bc313d0c5e198f5a3b5f12dd6dbcbe44e

Contents?: true

Size: 467 Bytes

Versions: 14

Compression:

Stored size: 467 Bytes

Contents

module Voom
  module Presenters
    module DSL
      module Components
        module Mixins
          module Avatar
            def avatar(avatar = nil, **attribs, &block)
              return @avatar if locked?
              @avatar = Components::Avatar.new(parent: self, avatar: avatar,
                                   context: context,
                                   **attribs, &block)
            end
          end
        end
      end
    end
  end
end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
voom-presenters-0.1.13 lib/voom/presenters/dsl/components/mixins/avatar.rb
voom-presenters-0.1.12 lib/voom/presenters/dsl/components/mixins/avatar.rb
voom-presenters-0.1.11 lib/voom/presenters/dsl/components/mixins/avatar.rb
voom-presenters-0.1.10 lib/voom/presenters/dsl/components/mixins/avatar.rb
voom-presenters-0.1.9 lib/voom/presenters/dsl/components/mixins/avatar.rb
voom-presenters-0.1.8 lib/voom/presenters/dsl/components/mixins/avatar.rb
voom-presenters-0.1.7 lib/voom/presenters/dsl/components/mixins/avatar.rb
voom-presenters-0.1.6 lib/voom/presenters/dsl/components/mixins/avatar.rb
voom-presenters-0.1.5 lib/voom/presenters/dsl/components/mixins/avatar.rb
voom-presenters-0.1.4 lib/voom/presenters/dsl/components/mixins/avatar.rb
voom-presenters-0.1.3 lib/voom/presenters/dsl/components/mixins/avatar.rb
voom-presenters-0.1.2 lib/voom/presenters/dsl/components/mixins/avatar.rb
voom-presenters-0.1.1 lib/voom/presenters/dsl/components/mixins/avatar.rb
voom-presenters-0.1.0 lib/voom/presenters/dsl/components/mixins/avatar.rb