lib/protos/icon/component.rb in protos-icon-0.3.1 vs lib/protos/icon/component.rb in protos-icon-0.4.0
- old
+ new
@@ -1,15 +1,8 @@
# frozen_string_literal: true
module Protos
module Icon
- class Component < Phlex::HTML
- def initialize(filepath)
- @filepath = filepath
- end
-
- def view_template
- unsafe_raw File.read(@filepath)
- end
+ class Component < Protos::Component
end
end
end