Module: InfisicalSDK::InfisicalLib
- Extended by:
- FFI::Library
- Defined in:
- lib/infisical_lib.rb
Overview
C wrapper for Ruby SDK
Class Method Summary collapse
Class Method Details
.linux_arm64? ⇒ Boolean
14 15 16 |
# File 'lib/infisical_lib.rb', line 14 def self.linux_arm64? RUBY_PLATFORM.include?('linux') && %w[aarch64 arm64].any? { |arch| RUBY_PLATFORM.include?(arch) } end |
.mac_with_intel? ⇒ Boolean
10 11 12 |
# File 'lib/infisical_lib.rb', line 10 def self.mac_with_intel? `uname -m`.strip == 'x86_64' end |