Sha256: b350f74aa2f1543ca37eb20f9eb2d53a06d325ae60b173507ed782802bc84224
Contents?: true
Size: 865 Bytes
Versions: 23
Compression:
Stored size: 865 Bytes
Contents
require "expressir/version" require "expressir/cli" require "expressir/config" Dir[File.join(__dir__, "expressir", "express", "*.rb")].sort.each do |fea| require fea end # .......................................................... # https://bugs.ruby-lang.org/issues/19319 # The issue is that this bug is fixed for 3.1 and above, # but not for 3.0 or 2.7, so we need a "safe" function # .......................................................... if RUBY_VERSION < "3.1" class String def safe_downcase each_char.map(&:downcase).join end end else class String def safe_downcase downcase end end end module Expressir class Error < StandardError; end def self.ui Expressir::Cli::UI end def self.root File.dirname(__dir__) end def self.root_path @root_path ||= Pathname.new(Expressir.root) end end
Version data entries
23 entries across 23 versions & 1 rubygems
Version | Path |
---|---|
expressir-1.3.1-x64-mingw-ucrt | lib/expressir.rb |
expressir-1.3.1-arm64-darwin | lib/expressir.rb |
expressir-1.3.1-aarch64-linux-gnu | lib/expressir.rb |