Skip to content

Commit dda3839

Browse files
authored
feat: グローバル定数を定義 (#17)
1 parent 7c83e43 commit dda3839

2 files changed

Lines changed: 14 additions & 0 deletions

File tree

core/global.rbs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
RUBY_VERSION: string
2+
MRUBY_VERSION: string
3+
MRUBYC_VERSION: string
4+
RUBY_ENGINE: string

test/global.rb

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# frozen_string_literal: true
2+
3+
# rubocop:disable Lint/Void
4+
5+
RUBY_VERSION
6+
MRUBY_VERSION
7+
MRUBYC_VERSION
8+
RUBY_ENGINE
9+
10+
# rubocop:enable all

0 commit comments

Comments
 (0)