Sha256: af67c93c1bd1e3b0e984e17a9934f6b2df801ae37f97e98d1134be1167ec3104

Contents?: true

Size: 213 Bytes

Versions: 3

Compression:

Stored size: 213 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")
    end

  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
e9s-2.1.4 lib/e9s/actionpack/action_view/base.rb
e9s-2.1.3 lib/e9s/actionpack/action_view/base.rb
e9s-2.1.2 lib/e9s/actionpack/action_view/base.rb