Skip to content
This repository has been archived by the owner on Jan 3, 2020. It is now read-only.

Commit

Permalink
TODO: FIXME - stub strscan lib impl
Browse files Browse the repository at this point in the history
  • Loading branch information
lopopolo committed Jun 11, 2019
1 parent 9e1db21 commit 6368f9f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions mruby/src/extn/stdlib/monitor.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ pub fn init(interp: &Mrb) -> Result<(), MrbError> {
.borrow_mut()
.def_class::<Monitor>("Monitor", None, None);
interp.def_rb_source_file("monitor.rb", include_str!("monitor.rb"))?;
interp.def_rb_source_file(
"strscan.rb",
"class StringScanner; def initialize(*args); end; end",
)?;
Ok(())
}

Expand Down

0 comments on commit 6368f9f

Please sign in to comment.