rich.rb 210 Bytes EditWeb IDE 1 2 3 4 5 6 7 8 9 10 11 module BlobViewer module Rich extend ActiveSupport::Concern included do self.type = :rich self.switcher_icon = 'file-text-o' self.switcher_title = 'rendered file' end end end