Sha256: e249d070e8c04e575f3266c5405a99305088b796a2358f84acb94d3849fae332
Contents?: true
Size: 509 Bytes
Versions: 1
Compression:
Stored size: 509 Bytes
Contents
# frozen_string_literal: true require "forwardable" require "hanami/view" module Milestoner module Views # Provides a common context for all views. class Context < Hanami::View::Context extend Forwardable include Import[:input] delegate %i[ project_author project_description project_generator project_label project_version ] => :input def project_title = [project_label, project_version].compact.join " " end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
milestoner-17.0.0 | lib/milestoner/views/context.rb |