Sha256: 107d961eed0ab7fcce0d57bfb015d128850f250e658530814dc21acca77db712

Contents?: true

Size: 281 Bytes

Versions: 8

Compression:

Stored size: 281 Bytes

Contents

# frozen_string_literal: true

require "hanami/view/context"

module <%= classified_app_name %>
  module View
    class Context < Hanami::View::Context
      def initialize(**args)
        defaults = {content: {}}

        super(**defaults.merge(args))
      end
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
hanami-cli-2.0.0.alpha8.1 lib/hanami/cli/generators/gem/application/monolith/view_context.erb
hanami-cli-2.0.0.alpha8 lib/hanami/cli/generators/gem/application/monolith/view_context.erb
hanami-cli-2.0.0.alpha7 lib/hanami/cli/generators/gem/application/monolith/view_context.erb
hanami-cli-2.0.0.alpha6.1 lib/hanami/cli/generators/gem/application/monolith/view_context.erb
hanami-cli-2.0.0.alpha6 lib/hanami/cli/generators/gem/application/monolith/view_context.erb
hanami-cli-2.0.0.alpha4 lib/hanami/cli/generators/gem/application/monolith/view_context.erb
hanami-cli-2.0.0.alpha3 lib/hanami/cli/generators/gem/application/monolith/view_context.erb
hanami-cli-2.0.0.alpha2 lib/hanami/cli/generators/gem/application/monolith/view_context.erb