Skip to content

Commit 45c4ac3

Browse files
committed
Drop obsolete ExecJS.runtime attr_reader
This `attr_reader` is redifined right after the `module.rb` is evaluated by `lib/execjs.rb`: https://github.com/rails/execjs/blob/master/lib/execjs.rb#L5-L7
1 parent 06feba5 commit 45c4ac3

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

lib/execjs/module.rb

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,6 @@ class ProgramError < Error; end
88
class RuntimeUnavailable < RuntimeError; end
99

1010
class << self
11-
attr_reader :runtime
12-
1311
def runtime=(runtime)
1412
raise RuntimeUnavailable, "#{runtime.name} is unavailable on this system" unless runtime.available?
1513
@runtime = runtime

0 commit comments

Comments
 (0)