Sha256: 5f2420bdd5104e3e6c3cece16d22b7bc82f5026613baadcfe515710de269241d
Contents?: true
Size: 305 Bytes
Versions: 7
Compression:
Stored size: 305 Bytes
Contents
module Railjet class PresenterContext < SimpleDelegator attr_reader :view def initialize(context, view_context) super(context) @view = view_context end def repository raise NoMethodError, "Acessing Repository from Presenter is a no-no 🙅♂️" end end end
Version data entries
7 entries across 7 versions & 1 rubygems