Sha256: c5759dd6e7b95aeba608c15a4ab2aad2115ae438b1c15020eb70e7af705d297b
Contents?: true
Size: 751 Bytes
Versions: 3
Compression:
Stored size: 751 Bytes
Contents
# frozen_string_literal: true require "dry/inflector" require_relative "errors" module Hanami class View # @api private class RenderingMissing def format raise RenderingMissingError end def context raise RenderingMissingError end def part(_name, _value, **_options) raise RenderingMissingError end def scope(_name = nil, _locals) # rubocop:disable Style/OptionalArguments raise RenderingMissingError end def template(_name, _scope) raise RenderingMissingError end def partial(_name, _scope) raise RenderingMissingError end def inflector @inflector ||= Dry::Inflector.new end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
hanami-view-2.1.0.rc1 | lib/hanami/view/rendering_missing.rb |
hanami-view-2.1.0.beta2 | lib/hanami/view/rendering_missing.rb |
hanami-view-2.1.0.beta1 | lib/hanami/view/rendering_missing.rb |