Sha256: 82a43cdc837e960d1ffd16c6ab34026388985fa3c3f1437bedf46f5fc9e7bbb1
Contents?: true
Size: 555 Bytes
Versions: 5
Compression:
Stored size: 555 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[ generator_label generator_uri 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
5 entries across 5 versions & 1 rubygems