Sha256: aa63343b85550d950930accd6e11266da4a3282e8b1815e8596b54ddd1d2f9a8

Contents?: true

Size: 330 Bytes

Versions: 14

Compression:

Stored size: 330 Bytes

Contents

# frozen_string_literal: true

module PUNK
  # @model Info
  # @property message(required) [string] some information for the user to see
  class Info < View
    args :message

    def process
      logger.info message
      'info'
    end

    protected

    def _dir
      File.join(__dir__, '..', 'templates')
    end
  end
end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
punk-0.3.6 lib/punk/views/info.rb
punk-0.3.5 lib/punk/views/info.rb
punk-0.3.4 lib/punk/views/info.rb
punk-0.3.3 lib/punk/views/info.rb
punk-0.3.2 lib/punk/views/info.rb
punk-0.3.1 lib/punk/views/info.rb
punk-0.2.0 lib/punk/views/info.rb
punk-0.1.4 lib/punk/views/info.rb
punk-0.1.3 lib/punk/views/info.rb
punk-0.1.2 lib/punk/views/info.rb
punk-0.1.0 lib/punk/views/info.rb
punk-0.0.3 lib/punk/views/info.rb
punk-0.0.2 lib/punk/views/info.rb
punk-0.0.1 lib/punk/views/info.rb