Skip to content
This repository was archived by the owner on Jan 2, 2026. It is now read-only.
/ myself_ip Public archive

実行中のIPアドレスを取得(v4) 🔎

Notifications You must be signed in to change notification settings

takkii/myself_ip

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

IPアドレス取得(組み込み想定版)

  • IPアドレス(IPv4)、ローカルを取得

  • 上記コードにクラス、コンストラクタを追加

  • open3を利用してrubyから実行

  • Ruby側、"#{aaa}"のようにレシーバでIPアドレスを入れ子にする

※ TSC/Node.jsにも対応。Rails側、IPアドレス取得を実装しました。

About

実行中のIPアドレスを取得(v4) 🔎

Topics

Resources

Stars

Watchers

Forks