Sha256: 7bdce40a2a15dfc80ff284d926383ecbe557cb8f39b5c6c7b32098a5c6de0764
Contents?: true
Size: 409 Bytes
Versions: 9
Compression:
Stored size: 409 Bytes
Contents
module ViewModels module Helpers # Module for conveniently including common view_helpers into a view_model # module View # Include hook. # def self.included view_model view_model.send :include, *all_view_helpers end def self.all_view_helpers [ ActionView::Helpers, ERB::Util ] end end end end
Version data entries
9 entries across 9 versions & 1 rubygems