Sha256: e3adcaf2ca5517495dabe5912fa29bb981e9d4f8b013be91339d67c4736ff9a1

Contents?: true

Size: 235 Bytes

Versions: 1

Compression:

Stored size: 235 Bytes

Contents

# frozen_string_literal: true

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

			def template(&block)
				p { @emoji }

				yield_content(&block)
			end
		end
	end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
phlex-0.4.0 fixtures/dummy/app/views/comments/reaction.rb