lib/protos/icon.rb in protos-icon-0.1.0 vs lib/protos/icon.rb in protos-icon-0.2.0
- old
+ new
@@ -14,10 +14,10 @@
class Component < Phlex::HTML
def initialize(filepath)
@filepath = filepath
end
- def template
+ def view_template
unsafe_raw File.read(@filepath)
end
end
module Heroicons