Sha256: b871d318fc1bcda488d6dafbb32c380f02b57f8473f46e5e6a81a4831e136e98

Contents?: true

Size: 239 Bytes

Versions: 13

Compression:

Stored size: 239 Bytes

Contents

# frozen_string_literal: true

module Views
	module Comments
		class Reaction < ApplicationView
			def initialize(emoji:)
				@emoji = emoji
			end

			def template(&block)
				p { @emoji }

				yield_content(&block)
			end
		end
	end
end

Version data entries

13 entries across 13 versions & 2 rubygems

Version Path
phlex-rails-0.4.2 fixtures/dummy/app/views/comments/reaction.rb
phlex-rails-0.4.1 fixtures/dummy/app/views/comments/reaction.rb
phlex-rails-0.4.0 fixtures/dummy/app/views/comments/reaction.rb
phlex-rails-0.3.2 fixtures/dummy/app/views/comments/reaction.rb
phlex-rails-0.3.1 fixtures/dummy/app/views/comments/reaction.rb
phlex-rails-0.3.0 fixtures/dummy/app/views/comments/reaction.rb
phlex-rails-0.2.2 fixtures/dummy/app/views/comments/reaction.rb
phlex-rails-0.2.1 fixtures/dummy/app/views/comments/reaction.rb
phlex-rails-0.2.0 fixtures/dummy/app/views/comments/reaction.rb
phlex-0.5.3 fixtures/dummy/app/views/comments/reaction.rb
phlex-0.5.2 fixtures/dummy/app/views/comments/reaction.rb
phlex-0.5.1 fixtures/dummy/app/views/comments/reaction.rb
phlex-0.5.0 fixtures/dummy/app/views/comments/reaction.rb