Skip to content

Commit

Permalink
Don't define Etc structs under Struct anymore
Browse files Browse the repository at this point in the history
  • Loading branch information
headius committed Oct 13, 2024
1 parent 4a1e0c9 commit b9d8001
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions core/src/main/java/org/jruby/ext/etc/RubyEtc.java
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ public static RubyModule createEtcModule(Ruby runtime) {

private static void definePasswdStruct(Ruby runtime) {
IRubyObject[] args = new IRubyObject[] {
runtime.newString("Passwd"),
runtime.getNil(),
runtime.newSymbol("name"),
runtime.newSymbol("passwd"),
runtime.newSymbol("uid"),
Expand All @@ -113,7 +113,7 @@ private static void definePasswdStruct(Ruby runtime) {

private static void defineGroupStruct(Ruby runtime) {
IRubyObject[] args = new IRubyObject[] {
runtime.newString("Group"),
runtime.getNil(),
runtime.newSymbol("name"),
runtime.newSymbol("passwd"),
runtime.newSymbol("gid"),
Expand Down

0 comments on commit b9d8001

Please sign in to comment.