Skip to content

Commit 37fc3bb

Browse files
committed
Another bug fixed upstream in opal (Time.method(:now))
1 parent a8d4093 commit 37fc3bb

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

README.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,6 @@ opal has to include all dependencies into build.
4444

4545
* **line 90**: heredoc fails to parse in opal as EOS is used within heredoc
4646

47-
* **line 171**: `&::Time.method(:now)` doesnt work so wrong method is set
48-
4947
## License
5048

5149
(The MIT License)

app/rspec/core.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ module Core
168168
# it.
169169
class Time
170170
class << self
171-
def now; ::Time.now; end #define_method(:now, &::Time.method(:now))
171+
define_method(:now, &::Time.method(:now))
172172
end
173173
end
174174

0 commit comments

Comments
 (0)