Sha256: ccddff87762b927c3c411d89db663b516375cc08f1d41a101dc2ee1bce5cffa8

Contents?: true

Size: 223 Bytes

Versions: 8

Compression:

Stored size: 223 Bytes

Contents

module ActionView
  class Base

    def e9s
      ::E9s::MODULES.collect do |mod|
        if respond_to?(method = "rich_#{mod}")
          send(method)
        end
      end.compact.join("\n").html_safe
    end

  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
e9s-2.2.7 lib/e9s/actionpack/action_view/base.rb
e9s-2.2.6 lib/e9s/actionpack/action_view/base.rb
e9s-2.2.5 lib/e9s/actionpack/action_view/base.rb
e9s-2.2.4 lib/e9s/actionpack/action_view/base.rb
e9s-2.2.3 lib/e9s/actionpack/action_view/base.rb
e9s-2.2.2 lib/e9s/actionpack/action_view/base.rb
e9s-2.2.1 lib/e9s/actionpack/action_view/base.rb
e9s-2.2.0 lib/e9s/actionpack/action_view/base.rb