Sha256: 9b7b2fc72120fe48dc87678ab1f074d502ee45db51409799a9e2cac1d119b0d1
Contents?: true
Size: 606 Bytes
Versions: 12
Compression:
Stored size: 606 Bytes
Contents
# frozen_string_literal: true require "pakyow/version" module Pakyow # Returns information about the environment. # def self.info { versions: { ruby: "v#{RUBY_VERSION}-p#{RUBY_PATCHLEVEL} (#{RUBY_PLATFORM})", pakyow: "v#{VERSION}" }, apps: Pakyow.mounts.map { |mount| { mount_path: mount[:path], class: mount[:app].to_s, reference: mount[:app].config.name.inspect, frameworks: mount[:app].config.loaded_frameworks, app_root: File.expand_path(mount[:app].config.root) } } } end end
Version data entries
12 entries across 12 versions & 1 rubygems