rubyx-debugger/app/source_view.rb

18 lines
233 B
Ruby
Raw Normal View History

2015-07-22 15:22:54 +02:00
class SourceView
include React::Component
required_param :author
required_param :text
def render
div class: "source" do
h2(class: "sourceAuthor") { author }
div do
text
end
end
end
end