rubyx-debugger/app/class_view.rb

16 lines
254 B
Ruby
Raw Normal View History

2015-07-22 15:22:54 +02:00
class ClassView
include React::Component
required_param :sources, type: [Hash]
def render
div class: "sourceList" do
sources.each do |source|
SourceView author: source[:author], text: source[:text]
end
end
end
end